Boost logo

Boost Users :

Subject: Re: [Boost-users] After install, ld finds some boost libs, but not others. All are present.
From: Alain Leblanc (aalebl_at_[hidden])
Date: 2014-04-08 19:28:20


Your compiler seems to be looking for for a file named lboost_system,
and not the boost_system library. Is it possible that you have some
opening double quotes in the {snip filenames} part of your command that
is not closed?

a

On 04/08/2014 06:01 PM, Devon Oslund wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Can find boost_regex, can't find boost_system. Both right there.
>
> _________________________________________________________________________________________________________
>
> ./bootstrap.sh --prefix=/usr
> ./b2
> sudo ./b2 install
>
> /usr/lib$ ls -la /usr/lib/libboost_regex.*
> - -rw-r--r-- 1 root root 3022020 Apr 8 14:29 /usr/lib/libboost_regex.a
> lrwxrwxrwx 1 root root 24 Apr 8 14:29 /usr/lib/libboost_regex.so -> libboost_regex.so.1.55.0
> - -rwxr-xr-x 1 root root 1453274 Apr 8 14:29 /usr/lib/libboost_regex.so.1.55.0
>
> ls -la /usr/lib/libboost_system.*
> - -rw-r----- 1 root root 32482 Apr 8 14:29 /usr/lib/libboost_system.a
> lrwxrwxrwx 1 root root 25 Apr 8 14:29 /usr/lib/libboost_system.so -> libboost_system.so.1.55.0
> - -rwxr-x--- 1 root root 20461 Apr 8 14:29 /usr/lib/libboost_system.so.1.55.0
>
>
> **** Build of configuration Release for project TCCore_Batchd ****
>
> make all
> Building target: libTCCore_Batchd.so
> Invoking: GCC C++ Linker
> g++ -L/home/devonerik/workspace/tclink-4.0.1-C -L/home/devonerik/workspace/nacl-20110221/build/shalebridge/lib/amd64
> - -L/home/devonerik/workspace/scrypt/Release -Xlinker -rpath . -shared -o "libTCCore_Batchd.so"
>
> {snip filenames}
>
> -lboost_system -lboost_regex -lscrypt -lpqxx
> /usr/bin/ld: cannot find -lboost_system
> collect2: error: ld returned 1 exit status
> make: *** [libTCCore_Batchd.so] Error 1
>
>
> **** Build of configuration Release for project TCCore_Batchd ****
>
> make all
> Building target: libTCCore_Batchd.so
> Invoking: GCC C++ Linker
> g++ -L/home/devonerik/workspace/tclink-4.0.1-C -L/home/devonerik/workspace/nacl-20110221/build/shalebridge/lib/amd64
> - -L/home/devonerik/workspace/scrypt/Release -Xlinker -rpath . -shared -o "libTCCore_Batchd.so"
>
> {snip filenames}
>
> -lboost_regex -lscrypt -lpqxx -lboost_system
> /usr/bin/ld: cannot find -lboost_system
> collect2: error: ld returned 1 exit status
> make: *** [libTCCore_Batchd.so] Error 1
>
> **** Build Finished ****
>
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJTRHG1AAoJEAy07rHw4yivheoH/jRaeucvmZhDAossFEAfiqkJ
> 8BPzoyGxzX+7aIZXFy9m8HlOo6CEWIAh20XB7iq31vYIq9NLaahcegZgzYX1SmGL
> T0y0LpmJgUlipcQHbLl0o0E3RWHk7olqCALNy2OBOHLgMYHxDF4tGRMQ6jnbo3xV
> JLMex5ai5TQwWNmciv7bLuHG/INnVEHVn/UVW2G/fgn7m9j8puhTcWmgbJIq6GAd
> Gusqqd8P4UZN5Umm1N4PmDtOoIuu2OLD6QvUoP3pM+QvJ5ZVY0nRPx/RDcrzdhoY
> 7WUDo2anrZiEaPFENUFnCJFBTf3pn7D+JJFeljoAhnqgNuShUjheuUMWsUV2/28=
> =hc+I
> -----END PGP SIGNATURE-----
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net