assembler segfault

Brian Brian.Mingus at colorado.edu
Tue Dec 23 03:24:13 UTC 2008


I need to find a way to compile the php svn module. I get two errors like
this:

error while loading shared libraries: libopcodes-2.18.so: cannot open shared
> object file: No such file or directory
>

These libraries are in /usr/lib, like so:

libopcodes-2.18.93.20081009.so
> libbfd-2.18.93.20081009.so
>

If I make a symlink from libopcodes-2.18.so to this file, *gcc segfaults*:

libtool: compile:  gcc -I/usr/include/subversion-1 -I/usr/include/apr-1.0
> -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I.
> -I/tmp/pear/temp/svn -DPHP_ATOM_INC
> -I/var/tmp/pear-build-root/svn-0.5.0/include
> -I/var/tmp/pear-build-root/svn-0.5.0/main -I/tmp/pear/temp/svn
> -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM
> -I/usr/include/php5/Zend -I/usr/include/php5/ext
> -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -g -O2 -c
> /tmp/pear/temp/svn/svn.c  -fPIC -DPIC -o .libs/svn.o
> *as: Symbol `i386_regtab' has different size in shared object, consider
> re-linking
> as: Symbol `i386_optab' has different size in shared object, consider
> re-linking
> gcc: Internal error: Segmentation fault (program as)*
>
Both of these symbols are in libopcodes-2.18.93.20081009.so, but I have no
idea what two symbol sizes are being compared here. Thoughts?

If you look at the dates on libopcodes and libbfd, they are both very
recent. I also wonder why the symlinks I made aren't automatically made?

-- 
(Not sent from my iPhone)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081222/ff63f570/attachment.html>


More information about the ubuntu-users mailing list