| View previous topic :: View next topic |
| Author |
Message |
nicbillie
Joined: 24 Mar 2010 Posts: 10
|
Posted: Thu Mar 25, 2010 12:00 am Post subject: Problems Installing |
|
|
When install this is the error message I'm getting.. How can I fix this??
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.so when searching for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.a when searching for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libspeex.so when searching for -lspeex
/usr/bin/ld: skipping incompatible /usr/lib/libspeex.a when searching for -lspeex
/usr/bin/ld: skipping incompatible /usr/lib/libtheora.so when searching for -ltheora
/usr/bin/ld: skipping incompatible /usr/lib/libtheora.a when searching for -ltheora
/usr/bin/ld: skipping incompatible /usr/lib/libogg.so when searching for -logg
/usr/bin/ld: skipping incompatible /usr/lib/libogg.a when searching for -logg
/usr/bin/ld: skipping incompatible /usr/lib/libvorbis.so when searching for -lvorbis
/usr/bin/ld: skipping incompatible /usr/lib/libvorbis.a when searching for -lvorbis
/usr/bin/ld: skipping incompatible /usr/lib/libxslt.so when searching for -lxslt
/usr/bin/ld: skipping incompatible /usr/lib/libxslt.a when searching for -lxslt
/usr/bin/ld: skipping incompatible /usr/lib/libxml2.so when searching for -lxml2
/usr/bin/ld: skipping incompatible /usr/lib/libxml2.a when searching for -lxml2
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/lib64/libxslt.so: undefined reference to `xmlXPathContextSetCache'
collect2: ld returned 1 exit status
make[3]: *** [icecast] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/icecast-2.3.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/icecast-2.3.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/icecast-2.3.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.61423 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.61423 (%build) |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Mar 25, 2010 12:36 am Post subject: |
|
|
I suspect you have a mismatched 64/32 bit setup. If you have 64bit libs then use the 64bit development packages.
karl. |
|
| Back to top |
|
 |
nicbillie
Joined: 24 Mar 2010 Posts: 10
|
Posted: Thu Mar 25, 2010 1:09 am Post subject: |
|
|
| karlH wrote: |
I suspect you have a mismatched 64/32 bit setup. If you have 64bit libs then use the 64bit development packages.
karl. |
Where can I find the 64bit packages??? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Mar 25, 2010 1:52 am Post subject: |
|
|
That will depend on which distribution you are using, I think all will have some sort of package management utility, GUI or text based.
karl. |
|
| Back to top |
|
 |
nicbillie
Joined: 24 Mar 2010 Posts: 10
|
Posted: Thu Mar 25, 2010 5:44 am Post subject: |
|
|
I was going to go a different route but having a issue with that. I'm using yum -y install icecast and I'm getting
Loaded plugins: fastestmirror, security, upgrade-helper
Loading mirror speeds from cached hostfile
* addons: mirror.ubiquityservers.com
* base: mirror.raystedman.net
* extras: mirror.skiplink.com
* updates: mirror.team-cymru.org
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
No Match for argument: icecast
Nothing to do
How can i fix that??? if you know it will be very helpful.. |
|
| Back to top |
|
 |
jcr Modérateur français

Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Thu Mar 25, 2010 11:46 am Post subject: |
|
|
With this list of mirrors, I suspect you have some CentOS distro. (Please always specify your distro and architecture when posting such errors).
Unfortunately, CentOS does not provide icecast packages. You'll have to build from sources.
About your multiple build errors, this means, as Karl stated, you made a mess mixing 32/64 bits packages, without having coherent devl packages installed. _________________ Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting |
|
| Back to top |
|
 |
nicbillie
Joined: 24 Mar 2010 Posts: 10
|
Posted: Thu Mar 25, 2010 12:27 pm Post subject: |
|
|
| Yea CENTOS 5.4 x86_64 is my distro.. Is there a way I can fix that issue?? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Mar 25, 2010 3:48 pm Post subject: |
|
|
You will have to use a combination of yum and rpm to resolve these. If you want to a 64bit build from source then make sure you are using a 64bit gcc (gcc -v) and then go through the libs that report an issue. It may be the case that you are just missing the 64bit devel packages ie yum install glibc-devel libxslt-devel etc re-run configure afterwards.
karl. |
|
| Back to top |
|
 |
nicbillie
Joined: 24 Mar 2010 Posts: 10
|
Posted: Thu Mar 25, 2010 5:06 pm Post subject: |
|
|
after i run gcc -v
root@tiger [~]# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
then
root@tiger [~]# yum install glibc-devel libxslt-devel
Loaded plugins: fastestmirror, security, upgrade-helper
Loading mirror speeds from cached hostfile
* addons: mirror.ubiquityservers.com
* base: mirror.team-cymru.org
* extras: mirror.raystedman.net
* updates: mirror.ubiquityservers.com
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
Nothing to do
It seems like everything is fine but still can't install.. |
|
| Back to top |
|
 |
jcr Modérateur français

Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Thu Mar 25, 2010 5:12 pm Post subject: |
|
|
From the whole thing:
| Code: |
| /usr/bin/ld: skipping incompatible /usr/lib/libcrypto.so |
means linker looks in /usr/lib directory (32 bit system)
| Code: |
| /usr/lib64/libxslt.so |
looks in /usr/lib64, which sounds the correct one for a 64 bit system.
This is the real proof that you installed some weird mix of 32 bit and 64 bit libraries, as well as their respective associated devel packages.
You should first try making some cleanup before you can build software in a consistent way. _________________ Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting |
|
| Back to top |
|
 |
nicbillie
Joined: 24 Mar 2010 Posts: 10
|
Posted: Thu Mar 25, 2010 5:51 pm Post subject: |
|
|
i ran yum erase *.i386 and erased everything 32 bit on my machine..
but while trying to install icecast 2 I get
/usr/lib64/libxslt.so: undefined reference to `xmlXPathContextSetCache'
collect2: ld returned 1 exit status
make[3]: *** [icecast] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/icecast-2.3.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/icecast-2.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/icecast-2.3.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.1536 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.1536 (%build)
Is there something else I'm missing??? |
|
| Back to top |
|
 |
jcr Modérateur français

Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Mar 25, 2010 6:02 pm Post subject: |
|
|
Just to point it out, those paths look to be 2.3.1 whereas it was 2.3.2 before. The issue then is the following
/usr/lib64/libxslt.so: undefined reference to `xmlXPathContextSetCache'
so your libxslt is referring to something in libxml2, so make sure you have libxslt and libxml2 for 64bit and their development packages. You can see the contents if you do
rpm -qi libxslt libxml2 libxslt-devel libxml2-devel
karl |
|
| Back to top |
|
 |
nicbillie
Joined: 24 Mar 2010 Posts: 10
|
Posted: Thu Mar 25, 2010 6:48 pm Post subject: |
|
|
the response I get..
root@tiger [~]# rpm -q libxml2 libxslt libxslt-devel libxml2-devel
libxml2-2.6.26-2.1.2.8
libxslt-1.1.17-2.el5_2.2
libxslt-devel-1.1.17-2.el5_2.2
libxml2-devel-2.6.26-2.1.2.8
root@tiger [~]# rpm -qi libxslt libxml2 libxslt-devel libxml2-devel
Name : libxslt Relocations: /usr
Version : 1.1.17 Vendor: CentOS
Release : 2.el5_2.2 Build Date: Thu 31 Jul 2008 02:51:02 PM EDT
Install Date: Thu 11 Feb 2010 01:59:39 AM EST Build Host: builder10.centos.org
Group : Development/Libraries Source RPM: libxslt-1.1.17-2.el5_2.2.src.rpm
Size : 1886086 License: MIT
Signature : DSA/SHA1, Thu 31 Jul 2008 05:39:07 PM EDT, Key ID a8a447dce8562897
URL : http://xmlsoft.org/XSLT/
Summary : Library providing the Gnome XSLT engine
Description :
This C library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism. To use it you need to have a version of libxml2 >= 2.6.25
installed. The xsltproc command is a command line interface to the XSLT engine
Name : libxml2 Relocations: /usr
Version : 2.6.26 Vendor: CentOS
Release : 2.1.2.8 Build Date: Mon 10 Aug 2009 05:57:30 PM EDT
Install Date: Thu 11 Feb 2010 01:59:36 AM EST Build Host: builder10.centos.org
Group : Development/Libraries Source RPM: libxml2-2.6.26-2.1.2.8.src.rpm
Size : 1642201 License: MIT
Signature : DSA/SHA1, Tue 11 Aug 2009 05:21:17 PM EDT, Key ID a8a447dce8562897
URL : http://xmlsoft.org/
Summary : Library providing XML and HTML support
Description :
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support
this includes parsing and validation even with complex DtDs, either
at parse time or later once the document has been modified. The output
can be a simple SAX stream or and in-memory DOM like representations.
In this case one can use the built-in XPath and XPointer implementation
to select subnodes or ranges. A flexible Input/Output mechanism is
available, with existing HTTP and FTP modules and combined to an
URI library.
Name : libxslt-devel Relocations: /usr
Version : 1.1.17 Vendor: CentOS
Release : 2.el5_2.2 Build Date: Thu 31 Jul 2008 02:51:02 PM EDT
Install Date: Wed 24 Mar 2010 07:27:11 PM EDT Build Host: builder10.centos.org
Group : Development/Libraries Source RPM: libxslt-1.1.17-2.el5_2.2.src.rpm
Size : 1164661 License: MIT
Signature : DSA/SHA1, Thu 31 Jul 2008 05:39:08 PM EDT, Key ID a8a447dce8562897
URL : http://xmlsoft.org/XSLT/
Summary : Libraries, includes, etc. to embed the Gnome XSLT engine
Description :
This C library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism. To use it you need to have a version of libxml2 >= 2.6.25
installed.
Name : libxml2-devel Relocations: /usr
Version : 2.6.26 Vendor: CentOS
Release : 2.1.2.8 Build Date: Mon 10 Aug 2009 05:57:30 PM EDT
Install Date: Wed 10 Feb 2010 08:13:32 PM EST Build Host: builder10.centos.org
Group : Development/Libraries Source RPM: libxml2-2.6.26-2.1.2.8.src.rpm
Size : 11035917 License: MIT
Signature : DSA/SHA1, Tue 11 Aug 2009 05:21:17 PM EDT, Key ID a8a447dce8562897
URL : http://xmlsoft.org/
Summary : Libraries, includes, etc. to develop XML and HTML applications
Description :
Libraries, include files, etc you can use to develop XML applications.
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support
this includes parsing and validation even with complex DtDs, either
at parse time or later once the document has been modified. The output
can be a simple SAX stream or and in-memory DOM like representations.
In this case one can use the built-in XPath and XPointer implementation
to select subnodes or ranges. A flexible Input/Output mechanism is
available, with existing HTTP and FTP modules and combined to an
URI library.
is everything correct here??? thanks for all the help so far.... |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Mar 25, 2010 7:31 pm Post subject: |
|
|
rpm --queryformat '%{name}-%{version}-%{release}.%{arch}\n' -q libxml2 libxslt libxslt-devel libxml2-devel
ok, try this instead, it's not made obvious with these packages. see if they are 64bit
karl. |
|
| Back to top |
|
 |
|