Jump to content
  • 0

libmpq compile failed [ONE]


baerloow

Question

Greetings Everyone,

i´m stucking at compile the libmpq

the

./autogen.sh

works without any error

./configure

too

but when i want to compile i get this:

[[email protected] libmpq]# make
make all-recursive
make[1]: Entering directory `/home/mangos/server/dep/libmpq'
Making all in libmpq
make[2]: Entering directory `/home/mangos/server/dep/libmpq/libmpq'
/bin/sh ../libtool --tag=CC  --mode=link gcc -g -O2 -fvisibility=hidden -release 0.4.2 -o libmpq.la -rpath /usr/local/lib common.lo huffman.lo extract.lo explode.lo mpq.lo wave.lo -lbz2 -lz
libtool: link: gcc -shared .libs/common.o .libs/huffman.o .libs/extract.o .libs/explode.o .libs/mpq.o .libs/wave.o  -lbz2 -lz  -Wl,-soname -Wl,libmpq-0.4.2.so -o .libs/libmpq-0.4.2.so
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../libbz2.a(bzlib.o): relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../libbz2.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libmpq.la] Error 1
make[2]: Leaving directory `/home/mangos/server/dep/libmpq/libmpq'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mangos/server/dep/libmpq'
make: *** [all] Error 2

please help me i´m running in circles for days now

Sign Baerloow

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

hm...

okay i found something after trying installing all the packeges

Package gcc-4.4.7-3.el6.x86_64 already installed and latest version
No package g++ available.
Package automake-1.11.1-4.el6.noarch already installed and latest version
Package git-1.7.1-3.el6_4.1.x86_64 already installed and latest version
Package autoconf-2.63-5.1.el6.noarch already installed and latest version
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
No package libmysql++-dev available.
Package mysql-server-5.1.69-1.el6_4.x86_64 already installed and latest version
Package libtool-2.2.6-15.5.el6.x86_64 already installed and latest version
No package libssl-dev available.
Package grep-2.6.3-3.el6.x86_64 already installed and latest version
Package binutils-2.20.51.0.2-5.36.el6.x86_64 already installed and latest version
No package zlibc available.
No package libc6 available.
No package libbz2-dev available.

some of them arent avaible ... on CentOSs yum repo.

okay i go searching for them to install them manually

and try it again

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use