Hi! i'm using automake to build library what woking with Oracle and uses another library libclntsh.so from $ORACLE_HOME/lib here's some rules from Makefile.am : lib_LTLIBRARIES = libocicpp.la INCLUDES= @ORA@ORACLE_INCLUDES@ -I$ORACLE_HOME/plsql/public and so on libocicpp_la_LDFLAGS = -L@O-L@ORACLE_LIBDIR@ @ORA@ORACLE_LIBS@ $ORACLE_HOME/lib and -lclntsh. it compiles and installs ok but when i trying to compile some programm test like this : test: $(CXX) -locicpp -o test test.o i get Segmentation Fault on first call of method in libocicpp. But if i building libocicpp.so by hand like this : libocicpp.so: $(CXXLD) -shared -o $(OCICPPLIB) $(OCICPPOBJECTS) -L$(ORACLE_LIBDIR) $(ORACLE_LIBS) it links and install ok to and test linking and executes successfully . There could be the problem ? kto mozhet pomozhite pls.. pishite pryamo na bofh@rbc.ru
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум using automake/libtool causes SegFault (2000)
- Форум [cabal] hmatrix install failed (2011)
- Форум WxHaskell (2012)
- Форум как скомпилировать jTessBoxEditor (2019)
- Форум Nvidia в Fedore Core 2 (2004)
- Форум sim & debian unstable (2005)
- Форум Проблемы при добавлении Oracle Basic Client 19.25 в Dockerfile. (2024)
- Форум [bsd]В OpenBSD пилят поддержку юникода в ncurses (2010)
- Форум Билд Оперы 10.5 под Linux (2010)
- Форум [eeebuntu] Установка HSF модема (2009)