Boost logo

Boost Users :

Subject: [Boost-users] After install, ld finds some boost libs, but not others. All are present.
From: Devon Oslund (devon.oslund_at_[hidden])
Date: 2014-04-08 18:01:37


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