[csw-users] symbol errors compiling using other blastwavepackages

Darin Perusich Darin.Perusich at cognigencorp.com
Thu Mar 2 19:14:17 CET 2006


have you set the following environment variables before running configure?

LD_OPTIONS='-R/opt/csw/lib/$ISALIST -R/opt/csw/lib -L/opt/csw/lib'
CPPFLAGS=-I/opt/csw/include

you also might want to read over the build standards if your going to be
building against blastwave libs.

http://www.blastwave.org/standards/build.html

Lundgren, Scott wrote:
> That didn't work. Is there a gcc CFLAGS equivalent for sun's cc
> compiler?
> 
> Scott Lundgren
> ITS - Web Services
> UNC at Charlotte
> http://www.uncc.edu
> 
> bash-2.05$ make clean
> <-- snip -->
> bash-2.05$ CFLAGS="-lssl";export CFLAGS
> bash-2.05$ ./configure --prefix=/opt/csw --mandir=/opt/csw/share/man
> --infodir=/opt/csw/share/info --with-openssl=/opt/csw --with-tls
> --with-certfile=/opt/csw/ssl/private/pure-ftpd.pem
> --with-mysql=/opt/csw/mysql4 --with-puredb --with-quotas --with-altlog
> --with-virtualchroot
> checking for a BSD-compatible install... ./install-sh -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for a BSD-compatible install... ./install-sh -c
> checking for ranlib... ranlib
> checking for gcc... no
> checking for cc... cc
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
> 
> bash-2.05$ less config.log 
> configure:2141: found /opt/SUNWspro/bin/cc
> configure:2151: result: cc
> configure:2315: checking for C compiler version
> configure:2318: cc --version </dev/null >&5
> cc: Warning: option -- passed to ld
> usage: cc [ options] files.  Use 'cc -flags' for details
> configure:2321: $? = 1
> configure:2323: cc -v </dev/null >&5
> usage: cc [ options] files.  Use 'cc -flags' for details
> configure:2326: $? = 1
> configure:2328: cc -V </dev/null >&5
> cc: Sun C 5.8 2005/10/13
> usage: cc [ options] files.  Use 'cc -flags' for details
> configure:2331: $? = 1
> configure:2354: checking for C compiler default output file name
> configure:2357: cc -lssl -I/opt/csw/include -L/opt/csw/lib/sparcv8plus
> conftest.c  >&5
> ld: fatal: library -lssl: not found
> ld: fatal: File processing errors. No output written to a.out
> configure:2360: $? = 1
> configure: failed program was: 
> 
> 
> _______________________________________________
> users mailing list
> users at lists.blastwave.org
> https://lists.blastwave.org/mailman/listinfo/users

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper at cognigencorp.com



More information about the users mailing list