![]() |
|
|
|||
|
corrupt libreadline-alike compile issue
I'm having trouble compiling php on just -one- server...
It fails on finding (proper) readline library files, in the configure command. In the config.log, as shown below, it seems to go horribly wrong within the library itself... I've tried recompiling pretty much everything I think could be related... glibc, libtool, aspell, readline, etc... revdep-rebuild, fix_libtool_files won't help me either... I've lost quite a bit where to look for now... Anybody? Kind regards, Erik configure:103178: result: no configure:103310: checking for readline in -lreadline configure:103345: i686-pc-linux-gnu-gcc -o conftest -I/usr/include -O2 -mtune=i686 -pipe -L/usr/lib -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql conftest.c -lreadline -lpspell -lpanel -lncurses -lmysqlclient -lmcrypt -lltdl -lldap -llber -lt1 -lfreetype -lpng -lz -ljpeg -ldb-4.5 -lgdbm -lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lssl -lcrypto -ldl -lcurl -lxml2 -lz -lm -lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto >&5 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/libpspell.so, not found (try using -rpath or -rpath-link) /usr/lib/libaspell.so.15: undefined reference to `operator delete(void*)@GLIBCXX_3.4' /usr/lib/libaspell.so.15: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3' /usr/lib/libaspell.so.15: undefined reference to `operator delete[](void*)@GLIBCXX_3.4' /usr/lib/libaspell.so.15: undefined reference to `operator new(unsigned int)@GLIBCXX_3.4' /usr/lib/libaspell.so.15: undefined reference to `__cxa_bad_typeid@CXXABI_1.3' /usr/lib/libaspell.so.15: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@CXXABI_1.3' /usr/lib/libaspell.so.15: undefined reference to `__cxa_pure_virtual@CXXABI_1.3' /usr/lib/libaspell.so.15: undefined reference to `std::__throw_bad_alloc()@GLIBCXX_3.4' /usr/lib/libaspell.so.15: undefined reference to `std::_List_node_base::transfer(std::_List_node_ba se*, std::_List_node_base*)@GLIBCXX_3.4' /usr/lib/libaspell.so.15: undefined reference to `std::__throw_length_error(char const*)@GLIBCXX_3.4' /usr/lib/libaspell.so.15: undefined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3' /usr/lib/libaspell.so.15: undefined reference to `std::_List_node_base::unhook()@GLIBCXX_3.4' /usr/lib/libaspell.so.15: undefined reference to `std::_List_node_base::swap(std::_List_node_base&, std::_List_node_base&)@GLIBCXX_3.4' /usr/lib/libaspell.so.15: undefined reference to `operator new[](unsigned int)@GLIBCXX_3.4' /usr/lib/libaspell.so.15: undefined reference to `std::_List_node_base::hook(std::_List_node_base*) @GLIBCXX_3.4' collect2: ld returned 1 exit status configure:103351: $? = 1 |
|
|||
|
Re: corrupt libreadline-alike compile issue
Erik van der Leun wrote:
> I'm having trouble compiling php on just -one- server... > It fails on finding (proper) readline library files, in the configure > command. > > In the config.log, as shown below, it seems to go horribly wrong within > the library itself... > > I've tried recompiling pretty much everything I think could be > related... glibc, libtool, aspell, readline, etc... > revdep-rebuild, fix_libtool_files won't help me either... > I've lost quite a bit where to look for now... > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: > warning: libstdc++.so.6, needed by /usr/lib/libpspell.so, not found (try > using -rpath or -rpath-link) I think you missed to select the correct gcc when you last updated it, so that the paths aren't correct, I suggest you run gcc-config and select gcc 4.1.2 and run "env-update && source /etc/profile", this should fix your trouble. -- //Aho |
|
|||
|
Re: corrupt libreadline-alike compile issue
Erik van der Leun wrote:
> I'm having trouble compiling php on just -one- server... > It fails on finding (proper) readline library files, in the configure > command. > > In the config.log, as shown below, it seems to go horribly wrong within > the library itself... > > I've tried recompiling pretty much everything I think could be > related... glibc, libtool, aspell, readline, etc... > revdep-rebuild, fix_libtool_files won't help me either... > I've lost quite a bit where to look for now... > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: > warning: libstdc++.so.6, needed by /usr/lib/libpspell.so, not found (try > using -rpath or -rpath-link) I think you missed to select the correct gcc when you last updated it, so that the paths aren't correct, I suggest you run gcc-config and select gcc 4.1.2 and run "env-update && source /etc/profile", this should fix your trouble. -- //Aho |
|
|||
|
Re: corrupt libreadline-alike compile issue
On 2008-02-04, J.O. Aho <user@example.net> wrote:
> Erik van der Leun wrote: >> I'm having trouble compiling php on just -one- server... >> It fails on finding (proper) readline library files, in the configure >> command. >> >> In the config.log, as shown below, it seems to go horribly wrong within >> the library itself... >> >> I've tried recompiling pretty much everything I think could be >> related... glibc, libtool, aspell, readline, etc... >> revdep-rebuild, fix_libtool_files won't help me either... >> I've lost quite a bit where to look for now... >> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: >> warning: libstdc++.so.6, needed by /usr/lib/libpspell.so, not found (try >> using -rpath or -rpath-link) > > I think you missed to select the correct gcc when you last updated it, so that > the paths aren't correct, I suggest you run gcc-config and select gcc 4.1.2 > and run "env-update && source /etc/profile", this should fix your trouble. > Alas... that cannot be... The full system was compiled with i686-pc-linux-gnu-4.1.2, which even is the only compiler available... |
|
|||
|
Re: corrupt libreadline-alike compile issue
On 2008-02-04, J.O. Aho <user@example.net> wrote:
> Erik van der Leun wrote: >> I'm having trouble compiling php on just -one- server... >> It fails on finding (proper) readline library files, in the configure >> command. >> >> In the config.log, as shown below, it seems to go horribly wrong within >> the library itself... >> >> I've tried recompiling pretty much everything I think could be >> related... glibc, libtool, aspell, readline, etc... >> revdep-rebuild, fix_libtool_files won't help me either... >> I've lost quite a bit where to look for now... >> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: >> warning: libstdc++.so.6, needed by /usr/lib/libpspell.so, not found (try >> using -rpath or -rpath-link) > > I think you missed to select the correct gcc when you last updated it, so that > the paths aren't correct, I suggest you run gcc-config and select gcc 4.1.2 > and run "env-update && source /etc/profile", this should fix your trouble. > Alas... that cannot be... The full system was compiled with i686-pc-linux-gnu-4.1.2, which even is the only compiler available... |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|