LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2005, 08:42 AM   #1
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Updated libpng, now existing GTK prog won't start anymore - Rh9


Hi guys,

I downloaded and installed libpng-1.2.8.tar.bz2 from the GTK site's dependencies directory in preparation for a an upgrade of my GTK library.

I now have the problem on my Rh9 system that some GTK programs don't want to
start. GFTP fails currently, and the error is

gftp-gtk: relocation error: /usr/local/lib/libpng12.so.0: undefined symbol: inflateInit_

Is there any way I can force GFTP to find my old libpng dynamic libraries? Where they even preserved when I put the new libpng in? I thought that when a library is upgraded, the original files are still there, only not symlinked.

Or has it something to do with ldconfig?

How can I get my existing GTK programs to run with the "new" libpng? (I haven't even upgraded GTK itself yet - still on the old version with which GFTP worked fine...)

Any help appreciated!
 
Old 05-12-2005, 01:06 PM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Original Poster
Rep: Reputation: 103Reputation: 103
I got this fixed myself. My /usr/local/lib directory looked like this:

rw-r--r-- 1 root root 199708 May 12 14:22 libpng12.a
lrwxrwxrwx 1 root root 13 May 12 14:22 libpng12.so -> libpng12.so.0
lrwxrwxrwx 1 root root 19 May 12 14:22 libpng12.so.0 -> libpng12.so.0.1.2.8
-rwxr-xr-x 1 root root 186411 May 12 14:22 libpng12.so.0.1.2.8
lrwxrwxrwx 1 root root 10 May 12 14:22 libpng.a -> libpng12.a
lrwxrwxrwx 1 root root 11 May 12 14:22 libpng.so -> libpng.so.3
lrwxrwxrwx 1 root root 17 May 12 14:22 libpng.so.3 -> libpng.so.3.1.2.8
-rwxr-xr-x 1 root root 186411 May 12 14:22 libpng.so.3.1.2.8

and what I did to fix it was to delete the libpng12.so symlink as well as the libpmg12.so.0 symlink.

Thereafter, my old GTK based programs started up again!

Any idea why? It works now but I have that sinking feeling when something was too easy...
 
  


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 want to start a prog from another prog but not as child grupoapunte Programming 5 05-23-2005 05:37 PM
installing is gtk+-2.0 is a mess! pangox and libpng prob. r4f Linux - Newbie 3 09-25-2004 12:02 PM
existing LVM partition won't mount anymore dehuszar Linux - Software 1 09-10-2004 01:26 PM
Is there a Default mail Prog in RH9 novkhan Linux - Newbie 2 04-22-2004 04:24 AM
Updated Mozilla, JVM doesn't work anymore GT_Onizuka Linux - Software 9 10-17-2003 12:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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