LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-11-2005, 06:45 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
same soname but different type


dear all,

i did some massive compiling of libraries and get the following error when updating the shared libraries (at boot):

same soname but different type

the concerned libraries are:

libpango
libglib2
libgthread
libgobject
libgmodule

...anyone knows what is this and what should i do?...

thanks,

aj.
 
Old 05-11-2005, 06:58 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Maybe you have more than one library installed, I mean different version
of the same library

Assuming your locate db is up to date, what is the output with
locate libpango-
(for example)
 
Old 05-11-2005, 07:02 AM   #3
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
can you please tell me how to ensure my locate db is up to date so i can give you the outcomes?

thank you...
 
Old 05-11-2005, 07:06 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
As root, run : updatedb (and go take a coffee or chocolate...)
 
Old 05-11-2005, 07:51 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
here is the complete error when i run ldconfig:
Code:
:~# ldconfig
ldconfig: libraries libpangoxft-1.0.so.0 and libpangoxft-1.0.so.0.399.1 in directory /usr/lib have same soname but different type.
ldconfig: libraries libpangoft2-1.0.so.0 and libpangoft2-1.0.so.0.399.1 in directory /usr/lib have same soname but different type.
ldconfig: libraries libglib-2.0.so.0 and libglib-2.0.so.0.400.2 in directory /usr/lib have same soname but different type.
ldconfig: libraries libgthread-2.0.so.0.400.2 and libgthread-2.0.so.0.600.4 in directory /usr/lib have same soname but different type.
ldconfig: libraries libpango-1.0.so.0 and libpango-1.0.so.0.399.1 in directory /usr/lib have same soname but different type.
ldconfig: libraries libgobject-2.0.so.0 and libgobject-2.0.so.0.400.2 in directory /usr/lib have same soname but different type.
ldconfig: libraries libgmodule-2.0.so.0 and libgmodule-2.0.so.0.400.2 in directory /usr/lib have same soname but different type.
ldconfig: libraries libpangox-1.0.so.0 and libpangox-1.0.so.0.399.1 in directory /usr/lib have same soname but different type.
the locate libpango- gives:
Code:
~# locate libpango-
/usr/lib/libpango-1.0.so.0
/usr/lib/libpango-1.0.so.0.399.1
/usr/lib/libpango-1.0.so.0.800.1
/usr/lib/libpango-1.0.la
/usr/lib/libpango-1.0.so
...any ideas? i am actually compiling some gnome sources on an amd64 arch.
 
Old 05-11-2005, 07:56 AM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
On my system, locate libpango- gives :
Code:
/usr/lib/libpango-1.0.so.0
/usr/lib/libpango-1.0.so.0.800.1
/usr/lib/libpango-1.0.la
/usr/lib/libpango-1.0.so
And /usr/lib/libpango-1.0.so is a symlink to /usr/lib/libpango-1.0.so.0.800.1
Check all your .so symlinks to see if there is some weird mix, and if you compile
your librairies, maybe you should deinstall the old ones before
 
Old 05-11-2005, 12:07 PM   #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
hi,

i actually compiled and used upgradepkg --install-new MYPACKAGE.tgz, therefore the others should have normally been removed (upgradepkg is removepkg + installpkg combined together)...

anyone?
 
Old 05-11-2005, 01:04 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Maybe they had a different package name.. take a look at /var/log/packages
 
Old 05-11-2005, 01:44 PM   #9
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
not sure i understand... the error statest that they do have a same name... no? what whould i look for there?
 
Old 05-11-2005, 05:35 PM   #10
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Maybe the package name was malformed and upgradepkg thought they were different so you could've ended with two pango packages.
Try:
Code:
ls -l /var/log/packages/*pango*
 
Old 05-11-2005, 06:36 PM   #11
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Yea, I bet that is what's going on. I have a sneaking suspicion that your not naming packages properly when you use makepkg. Therefore pkgtool gets confused and thinks it's an entirely different package.. Maybe?

package-$VERSION-$ARCH-$BUILD.tgz

And "package" has to be the same as whats already on your system before upgradepkg will work. Just a stab in the dark anyway...
 
Old 05-12-2005, 03:41 AM   #12
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
Yea, I bet that is what's going on. I have a sneaking suspicion that your not naming packages properly when you use makepkg. Therefore pkgtool gets confused and thinks it's an entirely different package.. Maybe?

package-$VERSION-$ARCH-$BUILD.tgz

And "package" has to be the same as whats already on your system before upgradepkg will work. Just a stab in the dark anyway...
i do use this standard renaming, i just add at the end the releaser:

package-$VERSION-$ARCH-$BUILDacid.tgz

but this surely does not do any difference. i've seen that i have a prior error when running my gnome script, who knows this might be related to this prior error. i am posting a new post for this and see if i can find a solution to that instead.

thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
installing redhat 8.0 when text login in I cannot type password?? I type root scrist Linux - General 4 04-22-2006 02:20 AM
list<type> how can I make type be a pointer? exodist Programming 2 06-06-2005 08:40 AM
arrays of elements with [gcc4]array type has incomplete element type lmmix Linux - Software 0 02-26-2005 08:07 AM
root (hd 0,0)Filesystem type unknown, partition type 0x7chainloader +1 ece30675 Linux - Distributions 5 07-20-2004 09:04 AM
How to link to soname? ugenn Linux - Software 4 01-23-2003 06:26 AM

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

All times are GMT -5. The time now is 12:38 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