[Pdns-users] Solaris 64-bit install - 32 bit ELF Class
Laurence Brockman
laurence.brockman at sjrb.ca
Wed Aug 10 17:16:58 UTC 2005
Also,
If I install the 32-bit binaries for MySQL I get:
/bin/bash ../../libtool --tag=CXX --mode=link g++ -shared -D_REENTRANT
-Wall -O2 -L/usr/local/mysql/lib -o libgmysqlbackend.la -rpath
/usr/local/powerdns/lib -module -lmysqlclient gmysqlbackend.lo smysql.lo
-lposix4 -lresolv -lnsl -lsocket -lpthread -lz
g++ -shared -shared -nostdlib
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/crti.o
/usr/ccs/lib/values-Xa.o
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/crtbegin.o
.libs/gmysqlbackend.o .libs/smysql.o -Wl,-R -Wl,/usr/local/lib -Wl,-R
-Wl,/usr/local/lib -L/usr/local/lib -L/usr2/SOURCES/S9/gcc-3.4.2/objdir/gcc
-L/usr2/SOURCES/S9/gcc-3.4.2/objdir/sparc-sun-solaris2.9/libstdc++-v3/src/.l
ibs
-L/usr2/SOURCES/S9/gcc-3.4.2/objdir/sparc-sun-solaris2.9/libstdc++-v3/src
-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lresolv -lnsl -lsocket
-lpthread -lz -L/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2 -L/usr/ccs/bin
-L/usr/ccs/lib -L/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..
/usr/local/lib/libstdc++.so -lm -lgcc_s
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/crtend.o
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/crtn.o -Wl,-h
-Wl,libgmysqlbackend.so.0 -o .libs/libgmysqlbackend.so.0.0.0
Text relocation remains referenced
against symbol offset in file
<unknown> 0x0
/usr/local/mysql/lib/libmysqlclient.a(ctype.o)
<unknown> 0x4
/usr/local/mysql/lib/libmysqlclient.a(ctype.o)
..... 13,000 lines or so
floor 0x368
/usr/local/mysql/lib/libmysqlclient.a(password.o)
floor 0x3bc
/usr/local/mysql/lib/libmysqlclient.a(password.o)
floor 0x4b0
/usr/local/mysql/lib/libmysqlclient.a(password.o)
floor 0x528
/usr/local/mysql/lib/libmysqlclient.a(password.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[3]: *** [libgmysqlbackend.la] Error 1
make[3]: Leaving directory
`/opt/home/lbrockma/pdns-2.9.18/modules/gmysqlbackend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/home/lbrockma/pdns-2.9.18/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/home/lbrockma/pdns-2.9.18'
make: *** [all] Error 2
Thoughts on either situation would be greatly appreciated!
Thanks,
Laurence
Laurence Brockman
Server Specialist
Shaw Operations Centre
Shaw Communications Inc.
laurence.brockman at sjrb.ca
_____
From: pdns-users-bounces at mailman.powerdns.com
[mailto:pdns-users-bounces at mailman.powerdns.com]
Sent: Wednesday, August 10, 2005 10:40 AM
To: 'pdns-users at mailman.powerdns.com'
Subject: [Pdns-users] Solaris 64-bit install - 32 bit ELF Class
I'm trying to compile on Solaris 5.9
System = SunOS
Release = 5.9
Machine = sun4u
And I'm getting the following error when I try and run make... Any ideas?
bash-2.05$ make
make all-recursive
make[1]: Entering directory `/opt/home/lbrockma/pdns-2.9.18'
Making all in modules
make[2]: Entering directory `/opt/home/lbrockma/pdns-2.9.18/modules'
Making all in gmysqlbackend
make[3]: Entering directory
`/opt/home/lbrockma/pdns-2.9.18/modules/gmysqlbackend'
/bin/bash ../../libtool --tag=CXX --mode=link g++ -D_REENTRANT -Wall -O2
-L/usr/local/mysql/lib -m64 -o libgmysqlbackend.la -rpath
/usr/local/powerdns/lib -module -lmysqlclient gmysqlbackend.lo smysql.lo
-lposix4 -lresolv -lnsl -lsocket -lpthread -lz
g++ -shared -nostdlib -L/usr/local/mysql/lib -m64
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/sparcv9/crti.o
/usr/ccs/lib/sparcv9/values-Xa.o
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/sparcv9/crtbegin.o
.libs/gmysqlbackend.o .libs/smysql.o -Wl,-R -Wl,/usr/local/lib -Wl,-R
-Wl,/usr/local/lib -L/usr/local/lib -L/usr2/SOURCES/S9/gcc-3.4.2/objdir/gcc
-L/usr2/SOURCES/S9/gcc-3.4.2/objdir/sparc-sun-solaris2.9/libstdc++-v3/src/.l
ibs
-L/usr2/SOURCES/S9/gcc-3.4.2/objdir/sparc-sun-solaris2.9/libstdc++-v3/src
-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lresolv -lnsl -lsocket
-lpthread -lz -L/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/sparcv9
-L/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2 -L/usr/ccs/bin/sparcv9
-L/usr/ccs/bin -L/usr/ccs/lib/sparcv9 -L/usr/ccs/lib
-L/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../../sparcv9
-L/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../.. -L/lib/sparcv9
-L/usr/lib/sparcv9 /usr/local/lib/libstdc++.so -lm -lgcc_s_sparcv9
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/sparcv9/crtend.o
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/sparcv9/crtn.o -m64 -Wl,-h
-Wl,libgmysqlbackend.so.0 -o .libs/libgmysqlbackend.so.0.0.0
ld: fatal: file .libs/gmysqlbackend.o: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to
.libs/libgmysqlbackend.so.0.0.0
collect2: ld returned 1 exit status
make[3]: *** [libgmysqlbackend.la] Error 1
make[3]: Leaving directory
`/opt/home/lbrockma/pdns-2.9.18/modules/gmysqlbackend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/home/lbrockma/pdns-2.9.18/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/home/lbrockma/pdns-2.9.18'
make: *** [all] Error 2
Laurence Brockman
Server Specialist
Shaw Operations Centre
Shaw Communications Inc.
laurence.brockman at sjrb.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20050810/aa199632/attachment-0001.html>
More information about the Pdns-users
mailing list