[Coin-symphony] Building MCKP

vijay patil vijay.patil at gmail.com
Sat Feb 26 08:24:50 EST 2005


Hi

Trying to build MCKP app.
I could not figure out why app is not able to find shared objects.
Please enlighten me :)

--------------------
[or at skylin] ~/MCKP-5.0 $ make clean
rm mckp
[or at skylin] ~/MCKP-5.0 $ make

g++  -L/home/or/COIN/lib -L/home/or/SYMPHONY-5.0/lib.LINUX/OSI_CLP
-L/home/or/COIN/lib -I/home/or/SYMPHONY-5.0/include
-I/home/or/COIN/include -I/home/or/COIN/include mckp_main.c -o mckp
-lsym -lCoin -lOsi -lCgl -lOsiClp -lClp

[or at skylin] ~/MCKP-5.0 $ mckp
mckp: error while loading shared libraries: libCoin.so: cannot open
shared object file: No such file or directory
[or at skylin] ~/MCKP-5.0 $ ldd mckp
        libCoin.so => not found
        libOsi.so => not found
        libCgl.so => not found
        libOsiClp.so => not found
        libClp.so => not found
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40026000)
        libm.so.6 => /lib/tls/libm.so.6 (0x400d9000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x400fb000)
        libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[or at skylin] ~/MCKP-5.0 $ ll /home/or/COIN/lib
total 2932
-rwxr-xr-x    1 or       users      412164 Feb 26 18:05 libCgl-O2.so
lrwxrwxrwx    1 or       users          12 Feb 26 18:05 libCgl.so ->
libCgl-O2.so
-rwxr-xr-x    1 or       users     1012044 Feb 26 17:59 libClp-O1.so
lrwxrwxrwx    1 or       users          12 Feb 26 17:59 libClp.so ->
libClp-O1.so
-rwxr-xr-x    1 or       users      664117 Feb 26 17:54 libCoin-O1.so
lrwxrwxrwx    1 or       users          13 Feb 26 17:54 libCoin.so ->
libCoin-O1.so
-rwxr-xr-x    1 or       users      696733 Feb 26 18:11 libOsiClp-g.so
lrwxrwxrwx    1 or       users          14 Feb 26 18:11 libOsiClp.so
-> libOsiClp-g.so
-rwxr-xr-x    1 or       users      183043 Feb 26 18:02 libOsi-O.so
lrwxrwxrwx    1 or       users          11 Feb 26 18:02 libOsi.so -> libOsi-O.so

[or at skylin] ~/MCKP-5.0 $ Can't you see its there !!

[or at skylin] ~/MCKP-5.0 $ ll /home/or/SYMPHONY-5.0/lib.LINUX/OSI_CLP
total 6664
-rw-r--r--    1 or       users     6807752 Feb 26 18:35 libsym.a


-- 
Vijay Patil



More information about the Symphony mailing list