Linking in an .so on linux with rebuild?

grauzone none at example.net
Tue Sep 22 21:57:26 PDT 2009


Daniel Keep wrote:
> I found a solution.
> 
> See
> http://stackoverflow.com/questions/335928/linux-gcc-linking-ld-cannot-find-a-library-that-exists
> 
> For me, I needed readline and history, so I did this:
> 
> $ cd /lib
> $ sudo ln -s libreadline.so.5 libreadline.so
> $ sudo ln -s libhistory.so.5 libhistory.so
> 
> After that, ld didn't complain.

Interesting. On my system (Debian), the libreadline.so symlink is in a 
separate -dev package. Who knows why.


More information about the Digitalmars-d-learn mailing list