Unusual symlink after 'make install'

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


If I configure libbsd-0.4.0 as such:

./configure --prefix=`pwd`/prefix --mandir=`pwd`/prefix/man

'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.


More information about the libbsd mailing list