LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-12-2005, 03:53 AM   #1
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Rep: Reputation: 30
Linking is badly borked on your system


hi all,

when running ./configure Orbit2 i get the following error (and of course can't compile it then):
Code:
checking for popt.h... yes
checking whether byte ordering is bigendian... no
configure: error:
Linking is badly borked on your system. Please ensure your library
path is correct
Check config.log for details - check near the end of the log above
'failed program was'
i am running this on a clean slamd64 install (same slack config). since i do not have the logs here and before i do proceed, anyone has experienced this error before?

i've googled and linuxquestioned around but all the posts i find talk about finally getting the .tgz, the .rpm or whatever preconfigured package to solve it. not really what i'm looking for.

the only one i found that could be helpful states:

'try activating gettext'

do you know how i activate gettext and what it is?...
 
Old 05-12-2005, 07:06 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you look at config.log ' near the end of the log above ' as suggested ?
 
Old 05-12-2005, 07:28 AM   #3
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I was going to ask if your popt problem got resolved. It looks like it did. That should be something else. Never mind...

Problems this early in the game... Sucks...

Post the last chunk of your configure log. That will tell you more specifically what it bombed out on.

Last edited by jong357; 05-12-2005 at 07:36 AM.
 
Old 05-12-2005, 07:38 AM   #4
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by jong357
I was going to ask if your popt problem got resolved. It looks like it did. That should be something else. Never mind...
No actually! i think that's the whole thing, i found this post which could give me a clue:
Quote:
Activating gettext solved the problem, but there's a Catch 22 here;

Orbit 2 requires popt. popt fails to activate because gettext is activated.
Deactivating gettext and activating popt makes Orbit 2 fail it's configure phase.

Activating gettext again results in:

port activate gettext
---> Activating gettext
port activate failed: Image error: /opt/local/share/locale/locale.alias is being
used by the active popt port. Please deactivate this port first, or use the -f
flag to force the activation.

As it says, it can be forced, and that is what I did.

Thanks for all help, Orbit 2 is installed.

But if Orbit 2 requires both popt and gettext to be installed and activated,
there should be a better handling of the mentioned conflict they create. Or at
least some output suggesting to the user how to get around it.
however i sincerely do not understand what this person is talking about... what should i do?
 
Old 05-12-2005, 07:39 AM   #5
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by keefaz
Did you look at config.log ' near the end of the log above ' as suggested ?
if i remember correctly,
definitely not much in there, just a stupid line such as 'error found'. period.

Last edited by acidjuice; 05-12-2005 at 07:44 AM.
 
Old 05-12-2005, 07:48 AM   #6
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
What prefix did you use on popt and did you uninstall both popt versions and reinstall the new one? I would also still post the error from the config log plus a good 10-20 lines above it.

I don't know what he is talking about either. How can you activate popt? It's a library for command parsing... Don't know.. I have both gettext and popt on my system. I would ignore that for now.

Last edited by jong357; 05-12-2005 at 07:52 AM.
 
Old 05-12-2005, 07:57 AM   #7
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
this what i use as parameters:
Code:
./configure --prefix=/usr \
  --sysconfdir=/etc \
  --localstatedir=/var/lib \
  --disable-static \
  x86_64-slackware-linux
to install, i actually use:
Code:
upgradepkg --install-new package**.tgz
what log would you like to see? the config.log has nothing much into it as stated. you mean above what i posted in post #1?
again, thank you...
 
Old 05-12-2005, 07:59 AM   #8
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by jong357
I don't know what he is talking about either. How can you activate popt?
he's actually stating to activate gettext, and the command seems:
Code:
port activate gettext
...
 
Old 05-12-2005, 08:15 AM   #9
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I still haven't a clue as to what he's talking about. I don't have a binary named 'port' on my system. That doesn't mean much granted... I would back track to popt. configure and make it again but then do a make uninstall. reinstall the popt binary from slamd and then use pkgtool to remove it. ldconfig and then get back into your new popt and make clean, configure make install (DESTDIR).

You know, it's best to configure something when it's not on your system to begin with. Just my 2 cents. Are you building Gnome 2.10 or 2.8.3? Your earlier popt libs don't seem to come from 1.7... Besides a slew of locales and one man page, this is what popt 1.7-5 dumped on my sytem:

/usr/lib/libpopt.so
/usr/lib/libpopt.so.0
/usr/lib/libpopt.so.0.0.0
usr/lib/libpopt.la
usr/lib/libpopt.a
usr/include/popt.h

The first 2 being symlinks ofcourse. And even tho you may think the config.log for popt doesn't have anything useful, it ussually does. Post the last 30 lines of it right before the "borked" message. You'll find it in the top directory of popt after the configure bombs out.

Last edited by jong357; 05-12-2005 at 08:23 AM.
 
Old 05-12-2005, 08:41 AM   #10
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
And I still think your going to have problems with these from your earlier post:

libpango
libglib2
libgthread
libgobject
libgmodule

Hold on.... Did you get these resolved? I would say no. Your error states there is a linking problem. All of those except for the first one come from glib... 10:1, libgthread is where your linking error is coming from. It might even say so in your config.log.

I know pango doesn't really have any deps but it seems you built it before popt. Thats why I gave you my build order a few days ago... Honestly, I wouldn't feel very good about getting a working gnome if I were you. I would stop right now before you get any further.

Uninstall glib,pango,popt and anything else you've done since your 'fresh' install of slamd... I firmly believe it's best to not have these libs on your system when your trying to compile newer versions of them. Again, just my 2 cents.
 
Old 05-12-2005, 08:53 AM   #11
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
first: i NEED to get it working

second: my platform build order is:
Code:
libxml2
libxslt
glib2
libidl
orbit2
intltool
libbonobo
pango
atk
shared-mime-info
gtk+2
gconf
desktop-file-utils
gnome-mime-data
gnome-vfs
audiofile
esound
libgnome
libart_lgpl
libglade
libgnomecanvas
libbonoboui
gnome-keyring
libgnomeui
gail
at-spi
libgnomecups
libgnomeprint
hicolor-icon-theme
gnome-icon-theme
libgnomeprintui
as you can see i'm not building popt, therefore it is there before i build pango. it is there on a clean slamd64 install.

3. i'm building gnome 2.10.1

4. 'borked'?? who said 'BORKED'???! what kind of a clear message is that.


i'm thinking of going through manually EVERY library and check every single line to ensure no problems are found prior moving on.
 
Old 05-12-2005, 09:15 AM   #12
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Your right. I thought popt was part of your ealier problem but it was pango. I still think your problem might be coming from glib.

-lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -ldl -lglib-2.0

Orbit2 clearly links against glib as does every other Gnome package. Along with glib being borked (screwed up) so is pango as your ealier post implies. Well, good luck anyway...
 
Old 05-12-2005, 11:22 AM   #13
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
trust me, i'll be back with more just going manually through each package...
 
Old 05-12-2005, 02:07 PM   #14
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
ok you were TOTALLY right on glib2.

i actually had to add a doinst.sh in the .tgz package:
Code:
( cd usr/lib64 ; rm -rf libglib-2.0.so.0 )
( cd usr/lib64 ; ln -sf libglib-2.0.so.0.600.0 libglib-2.0.so.0 )
( cd usr/lib64 ; rm -rf libglib-2.0.so )
( cd usr/lib64 ; ln -sf libglib-2.0.so.0.600.0 libglib-2.0.so )
( cd usr/lib64 ; rm -rf libgmodule-2.0.so.0 )
( cd usr/lib64 ; ln -sf libgmodule-2.0.so.0.600.0 libgmodule-2.0.so.0 )
( cd usr/lib64 ; rm -rf libgobject-2.0.so.0 )
( cd usr/lib64 ; ln -sf libgobject-2.0.so.0.600.0 libgobject-2.0.so.0 )
( cd usr/lib64 ; rm -rf libgmodule-2.0.so )
( cd usr/lib64 ; ln -sf libgmodule-2.0.so.0.600.0 libgmodule-2.0.so )
( cd usr/lib64 ; rm -rf libgthread-2.0.so )
( cd usr/lib64 ; ln -sf libgthread-2.0.so.0.600.0 libgthread-2.0.so )
( cd usr/lib64 ; rm -rf libgthread-2.0.so.0 )
( cd usr/lib64 ; ln -sf libgthread-2.0.so.0.600.0 libgthread-2.0.so.0 )
( cd usr/lib64 ; rm -rf libgobject-2.0.so )
( cd usr/lib64 ; ln -sf libgobject-2.0.so.0.600.0 libgobject-2.0.so )
and this plus some manual removal of old libraries did the trick. i will have to check this later on a clean slamd64 install to see if it works correctly. however, orbit2 did install without problems. i'll keep on going then. thanks.
 
Old 05-12-2005, 02:52 PM   #15
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
ok that didn't work either. atk can't find glib 2 installed.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I think I borked xmms paperdiesel Linux - Software 2 07-23-2004 07:33 PM
screwed up system badly, glibc need to upgrade unforgivn Linux - Newbie 3 06-15-2004 01:29 AM
mplayer borked moger Slackware 3 06-08-2004 09:21 PM
x is borked Enigma Linux - Newbie 3 01-18-2003 07:45 PM
I've borked over a superblock...uh oh Null Linux - Hardware 8 01-08-2003 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration