Using the Berkeley DB
Derek Broughton
derek at pointerstop.ca
Thu Oct 1 16:13:14 UTC 2009
Jan wrote:
> Chris Mohler wrote:
>> My guess is that it exists, but is not found (not in the standard
>> path) - you could put a symlink into /usr/lib or /usr/local/lib and it
>> should pick it up.
>>
> Wow, the solution of Chris works!
>
> Thank you very much!
>
> But in another Forum I read, that putting a symlink wouldn't be the best
> solution for solving this problem. What do you think of that?
Absolutely. It's a cheap hack, and not what you really should be doing. If
you must, put the symlink in /usr/local/lib, not /usr/lib - at least that
way it won't interfere with any package-generated files. A far better
solution is to create a file in /etc/ld.so.conf.d/ containing the path of
the missing library, then run "sudo ldconfig". That said, I created a
symlink to a library in /usr/local/lib just this morning...
--
derek
More information about the ubuntu-users
mailing list