Unusual symlink after 'make install'

Ryan Mullen rmmullen at gmail.com
Wed May 30 07:31:54 PDT 2012


Hello,

If I configure libbsd-0.4.0 as such:

./configure --prefix=`pwd`/prefix --mandir=`pwd`/prefix/man
--libdir=`pwd`/prefix/usr/lib

'make install' gives me this symlink in ./prefix/usr/lib:

libbsd.so -> ../../../../../../../../../../libbsd.so.0.4.0

The target of this symlink does not exist.

Should it instead point to the libbsd.so.0.4.0 that is in
./prefix/usr/lib, without all those parent-directory specifiers?

This is what I get in my $PREFIX after 'make install':

`-- usr
    `-- lib
        |-- libbsd.a
        |-- libbsd.la
        |-- libbsd.so -> ../../../../../../../../../../libbsd.so.0.4.0
        |-- libbsd.so.0 -> libbsd.so.0.4.0
        |-- libbsd.so.0.4.0
        `-- pkgconfig
            |-- libbsd-overlay.pc
            `-- libbsd.pc

Did I configure incorrectly? Please advise.

Thanks,
Ryan


More information about the libbsd mailing list