Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

using gnu build tools: librs.so..... not found

807575May 6 2004 — edited May 7 2004
I am using the gnu build tools to build my software.
at the last stage of compilation, I have an error indicating that the shared library ( created as part of the software and compiled early)is not found when creating the final executable.

Part of the build message is shown below:
.....................
rm -fr .libs/librs.la .libs/librs.* .libs/librs.*
/usr/ucb/ld -G -h librs.so.0 -o .libs/librs.so.0.0.0 -R/user1/3dsim/project/dsta/current/robotsim/src/rsutil/.libs -R/user1/3dsim/project/dsta/current/robotsim/src/rsnet/.libs -R/user1/3dsim/project/dsta/current/robotsim/src/rsgui/.libs -R/user1/3dsim/project/dsta/current/robotsim/src/rsentity/.libs -R/usr/local/lib -L/user1/3dsim/project/dsta/current/robotsim/src/rsutil/.libs -L/user1/mzxwu/lib ../../src/rsutil/.libs/librsutil.so ../../src/rsnet/.libs/librsnet.so ../../src/rsgui/.libs/librsgui.so ../../src/rsentity/.libs/librsentity.so -lpthread -lc
(cd .libs && rm -f librs.so.0 && ln -s librs.so.0.0.0 librs.so.0)
(cd .libs && rm -f librs.so && ln -s librs.so.0.0.0 librs.so)
ar cru .libs/librs.a
ranlib .libs/librs.a
creating librs.la
(cd .libs && rm -f librs.la && ln -s ../librs.la librs.la)
/bin/bash ../../libtool --mode=link CC -g -o robotsim main.o librs.la -lpthread
CC -g -o .libs/robotsim main.o ./.libs/librs.so /user1/3dsim/project/dsta/current/robotsim/src/rsnet/.libs/librsnet.so /user1/3dsim/project/dsta/current/robotsim/src/rsgui/.libs/librsgui.so -lGL -lGLw -lXm -lXt -lX11 -lXol /user1/3dsim/project/dsta/current/robotsim/src/rsentity/.libs/librsentity.so /user1/3dsim/project/dsta/current/robotsim/src/rsutil/.libs/librsutil.so /user1/mzxwu/lib/liblog4cpp.so -lnsl -lsocket -lpthread -R/usr/local/lib -R/user1/mzxwu/lib
ild: (warning) shared lib, needed by argument lib ./.libs/librs.so, not found :: libucb.so.1
ild: (warning) shared lib, needed by argument lib ./.libs/librs.so, not found :: libucb.so.1
ild: (warning) shared lib, needed by argument lib ./.libs/librs.so, not found :: libucb.so.1
ild: (warning) shared lib, needed by argument lib /user1/3dsim/project/dsta/current/robotsim/src/rsentity/.libs/librsentity.so, not found :: libucb.so.1
ild: (warning) shared lib, needed by argument lib /user1/3dsim/project/dsta/current/robotsim/src/rsutil/.libs/librsutil.so, not found :: libucb.so.1
creating robotsim

Does anyone has encountered this problem before?
I have no problem when building this on linux machine using gcc
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2004
Added on May 6 2004
5 comments
403 views