Updating Package to 0.7 and issue with Libdl


Hi all, I am trying to update some of the Mongo related packages, specifically the LibBSON one, and I am pretty confused as to how to deal with importing packages into my julia environment.

I have added the package from the package command prompt with add https://github.com/pazzo83/LibBSON.jl

This seems to add and build the package fine, however, when I go to load it in my julia prompt (i.e. using LibBSON), I get this error:

ERROR: LoadError: LoadError: ArgumentError: Package LibBSON does not have Libdl in its dependencies:
 - If you have LibBSON checked out for development and have
   added Libdl as a dependency but haven't updated your primary
   environment's manifest file, try `Pkg.resolve()`.
 - Otherwise you may need to report an issue with LibBSON.

Following the prompt, I run Pkg.resolve(), and this seemed to deal with that. However, as I push new commits to that repo (which i added earlier), upon running up LibBSON from the package command, it does not pick up the changes.
What am I doing wrong here?


I think you meant to use dev instead of add? The docs say this about adding local packages:

The changes would have to be committed and the packages updated in order to pull in the changes.


I do push the changes to the package, but maybe they won’t pick up updates to master even if you use add with the git url?


they won’t pick up updates to master even if you use add with the git url?

I’m pretty sure that is the case (having to do with reproducibility and such). I’m not 100% sure.
I would try to explicitly update the package (using pkg> up <package_name>) and see if that fixes your issue. If it does fix your issue, then perhaps dev is more appropriate.


ok i will give that a try - thanks!!