Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Gentoo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-04-2008, 03:41 PM
Erik van der Leun
 
Posts: n/a
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

Reply With Quote
  #2 (permalink)  
Old 02-04-2008, 04:48 PM
J.O. Aho
 
Posts: n/a
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
Reply With Quote
  #3 (permalink)  
Old 02-04-2008, 04:48 PM
J.O. Aho
 
Posts: n/a
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
Reply With Quote
  #4 (permalink)  
Old 02-05-2008, 07:47 AM
Erik van der Leun
 
Posts: n/a
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...
Reply With Quote
  #5 (permalink)  
Old 02-05-2008, 07:47 AM
Erik van der Leun
 
Posts: n/a
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...
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Gentoo


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:19 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109