From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98573678110936.tru64-unix-managers.marc@archive.invalid> From: "Martin del Campo, Enrique" Date: Tue, 27 Mar 2001 23:39:41 +0000 To: tru64-unix-managers Subject: Unresoved symbol when building apache DSO : p4_find_entry_by_key_ ts X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98573678110936 Hi, We're trying to build our Apache Plugin on Tru64 Unix. The build looks okay. It creates both .a and .so libs. the .a lib works fine. When we try to use the shared lib for the Apache Server (version 1.3.14), it complains of an unresolved symbol: Cannot load /usr/users/mlum/apacheservers/dso/apache/libexec/libct_apache_plugin.so into server: dlopen: librt.so: symbol "p4_find_entry_by_key_ts" unresolved We use gcc to compile and ld for linking: gcc -o debug/ct_log_impl.o -c -DUNIX -DXP_UNIX -DFILE_UNIX -DTRU64 -Wall -Wno-unused -Wno-implicit -fPIC -Wl,- B,symbolic -Wno-comment -Wno-uninitialized -Wno-char-subscripts -DAPACHE -DEAPI -DENCRYPTED -DPRINT_STARTUP_IN FO -DLOG_FAILOVERS -DDEBUG_FAILOVERS -DCOCA -DHIGHFIRST -DREDUCE_SD_TRAFFIC -DCT_USE_OPENSSL -DREMOVE_IF_MODIF IED -DPERL5 -DTRACE -DLOG_401 -DLOG_403 -g -g -D_REENTRANT -DREENTRANT -DTRACE_AUTH -DTRACE_APACHE -DAPACHE - DEAPI -DENCRYPTED -DPRINT_STARTUP_INFO -DLOG_FAILOVERS -DDEBUG_FAILOVERS -DCOCA -DHIGHFIRST -DREDUCE_SD_TRAFFI C -DCT_USE_OPENSSL -DREMOVE_IF_MODIFIED -DPERL5 -DTRACE -DLOG_401 -DLOG_403 -g -I"." -I"../../../common/posix " -I"../../../../libraries/alpha-Tru64/include-old" -I"../../../../libraries/common/Entrust/include" -I"../../ ../common/coca" -I"../../../common/fope" -I"../../../common/mem" -I"../../../common/mux" -I"../../../common/ne t" -I"../../../common/sfl" -I"../../../common/thread" -I"../../../common/util" -I"../../../common/alpha-Tru64" -I"../../../plugins/web/common" -I"../../../plugins/web/extension_api" -I"../../../../libraries/alpha-Tru64/a pache_1.3/src" -I"../../../../libraries/alpha-Tru64/apache_1.3/include" -I"../../../../libraries/alpha-Tru64/a pache_1.3" -I"../../../../libraries/common/apache_1.3/src/include" -I"../../../../libraries/common/openssl/0.9 .6/include" -I"../../../../libraries/common/openssl/0.9.6/include/openssl" -I"../../../../libraries/common/rsa /include" -I"../../../../libraries/common/entrust/include" \ "ct_log_impl.c" ld -v -shared -o ./debug/libct_apache_plugin.so \ debug/ct_request_data_impl.o debug/ct_log_impl.o debug/ct_apache_mod.o debug/ct_server_funcs_impl.o debug/ct_s erver_parms_impl.o debug/ct_web_server_config_impl.o debug/certutil.o debug/coca.o debug/cocacook.o debug/coca thrd.o debug/ct_format_output.o debug/ct_global.o debug/ct_multi_auth.o debug/ct_plugin_server.o debug/ct_requ est_data.o debug/ct_server_proxy.o debug/form-lib.o debug/hitsd.o debug/ct_init.o debug/ct_log.o debug/ct_mess age.o debug/ct_request.o debug/ct_auth_server_pool.o debug/ct_auth_server_pool_utils.o ../../../common/util/de bug/ct_error.o debug/ct_web_server_config.o debug/ct_update_key_thread.o debug/ct_multi_auth_unix.o -lm -lrt -lpthread -L../../../common/mux/./debug -lmux -L../../../common/mem/./debug -lmem -L../../../common/sfl/. /debug -lsfl -L../../../common/net/./debug -lctnet -L../../../common/fope/./debug -lfope -L../../../common/ util/./debug -lct_util -L../../../common/coca/./debug -lcoca -L../../../common/alpha-Tru64/./debug -losutil -L../../../../libraries/alpha-Tru64/openssl/ -lssl -L../../../../libraries/alpha-Tru64/openssl -lcrypto - L../../../../libraries/alpha-Tru64/apache_1.3/ -lhttpd -lgcc Appreciate for any help. Enrique Martin del Campo Software Engineer Securant Technologies ecampo@securant.com