[csw-users] symbol errors compiling using other blastwave packages

Lundgren, Scott SELundgr at email.uncc.edu
Thu Mar 2 16:42:54 CET 2006


I did some testing with the CSW pureftpd package and though it had been
compiled including the "--with-everything" flag this did not include the
MySQL support. I understand this package is no longer maintained so I'm
trying to compile my own installation using other blastwave packages and
I've run into a problem referencing symbols. Suggestions for how to fix
them would be very appreciated.

Thanks,
Scott Lundgren
ITS - Web Services
UNC at Charlotte
http://www.uncc.edu

I'm compiling using:
CSWossl         0.9.8,REV=2005.11.02_rev=a
CSWmysql4       4.1.15,REV=2005.11.15
CSWmysql4client 4.1.15,REV=2005.11.13
CSWmysql4rt     4.1.15,REV=2005.11.13
CSWgmake        3.80,REV=2004.10.21
Sun Studio 11
Pureftpd-1.0.21 from source

bash-2.05$
PATH=$PATH:.:/opt/SUNWspro/bin:/usr/ccs/bin:/opt/csw/bin:/usr/bin:/bin:/
usr/sbin:/sbin;export PATH
bash-2.05$ CPPFLAGS="-I/opt/csw/include";export CPPFLAGS
bash-2.05$ LD_LIBRARY_PATH=/opt/csw/mysql4/lib/mysql;export
LD_LIBRARY_PATH
bash-2.05$ LDFLAGS="-L/opt/csw/lib/sparcv8plus";export LDFLAGS
bash-2.05$ ./configure --prefix=/opt/csw --with-openssl=/opt/csw
--mandir=/opt/csw/share/man --infodir=/opt/csw/share/info --with-tls
--with-certfile=/opt/csw/ssl/private/pure-ftpd.pem
--with-mysql=/opt/csw/mysql4
<-- snip -->
bash-2.05$ make
<-- snip -->

cc  -g  -L/opt/csw/lib/sparcv8plus -L/usr/local/lib
-L/opt/csw/mysql4/lib -L/opt/csw/mysql4/lib/mysql
-L/opt/csw/mysql4/mysql/lib -o pure-ftpd  pure_ftpd-daemons.o
pure_ftpd-ftpd.o pure_ftpd-log_unix.o pure_ftpd-log_mysql.o
pure_ftpd-log_pgsql.o pure_ftpd-log_pam.o pure_ftpd-log_ldap.o
pure_ftpd-log_puredb.o pure_ftpd-log_extauth.o pure_ftpd-ls.o
pure_ftpd-parser.o pure_ftpd-bsd-glob.o pure_ftpd-fakesnprintf.o
pure_ftpd-bsd-realpath.o pure_ftpd-mysnprintf.o pure_ftpd-caps.o
pure_ftpd-ftp_parser.o pure_ftpd-dynamic.o pure_ftpd-ftpwho-update.o
pure_ftpd-bsd-getopt_long.o pure_ftpd-upload-pipe.o
pure_ftpd-ipv4stack.o pure_ftpd-altlog.o pure_ftpd-crypto.o
pure_ftpd-crypto-md5.o pure_ftpd-crypto-sha1.o pure_ftpd-quotas.o
pure_ftpd-fakechroot.o pure_ftpd-diraliases.o pure_ftpd-ftpwho-read.o
pure_ftpd-getloadavg.o pure_ftpd-privsep.o pure_ftpd-tls.o
pure_ftpd-osx-extensions.o ../puredb/src/libpuredb_read.a -lkstat
-lcrypto -lmysqlclient -lz -lm -lcrypt -lsendfile -lnsl -lsocket 
Undefined                       first referenced
 symbol                             in file
SSL_load_error_strings              pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
dlsym
/opt/csw/lib/sparcv8plus/libcrypto.a(dso_dlfcn.o)  (symbol belongs to
implicit dependency /lib/libdl.so.1)
SSL_CIPHER_get_bits                 pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_CIPHER_get_name                 pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_write                           pure_ftpd-ftpd.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_CTX_use_PrivateKey_file         pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_set_accept_state                pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_accept                          pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSLv23_server_method                pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_CTX_use_certificate_chain_file  pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
dlopen
/opt/csw/lib/sparcv8plus/libcrypto.a(dso_dlfcn.o)  (symbol belongs to
implicit dependency /lib/libdl.so.1)
SSL_free                            pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_read                            pure_ftpd-ftp_parser.o  (symbol
belongs to implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_new                             pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_CTX_new                         pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_set_rfd                         pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_set_wfd                         pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_CIPHER_get_version              pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
dlclose
/opt/csw/lib/sparcv8plus/libcrypto.a(dso_dlfcn.o)  (symbol belongs to
implicit dependency /lib/libdl.so.1)
dlerror
/opt/csw/lib/sparcv8plus/libcrypto.a(dso_dlfcn.o)  (symbol belongs to
implicit dependency /lib/libdl.so.1)
SSL_CTX_ctrl                        pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_CTX_free                        pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_get_current_cipher              pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_CTX_check_private_key           pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
SSL_library_init                    pure_ftpd-tls.o  (symbol belongs to
implicit dependency /opt/csw/lib/sparcv8plus/libssl.so.0.9.8)
ld: fatal: Symbol referencing errors. No output written to pure-ftpd
make[2]: *** [pure-ftpd] Error 1
make[2]: Leaving directory `/var/tmp/pure-ftpd-1.0.21/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/pure-ftpd-1.0.21'
make: *** [all] Error 2



More information about the users mailing list