Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge media-gfx/graphviz-2.26.3-r3,[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4055
Location: india

PostPosted: Thu Oct 06, 2011 12:21 pm    Post subject: Failed to emerge media-gfx/graphviz-2.26.3-r3,[solved] Reply with quote

Code:
  CCLD   libgvplugin_gd_C.la
  CCLD   libgvplugin_gd.la
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpng14
collect2: ld returned 1 exit status
make[3]: *** [libgvplugin_gd.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3/plugin/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3'
make: *** [all] Error 2
emake failed
 * ERROR: media-gfx/graphviz-2.26.3-r3 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *          ebuild.sh, line   91:  Called src_compile
 *        environment, line 5375:  Called _eapi2_src_compile
 *   phase-helpers.sh, line  562:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =media-gfx/graphviz-2.26.3-r3',
 * the complete build log and the output of 'emerge -pqv =media-gfx/graphviz-2.26.3-r3'.
 * The complete build log is located at '/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/temp/environment'.
 * S: '/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3'

>>> Failed to emerge media-gfx/graphviz-2.26.3-r3, Log file:

>>>  '/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/temp/build.log'



what gives libgvplugin ?
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)


Last edited by padoor on Sun Oct 09, 2011 6:49 am; edited 1 time in total
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Thu Oct 06, 2011 1:13 pm    Post subject: Re: Failed to emerge media-gfx/graphviz-2.26.3-r3, Reply with quote

padoor wrote:
what gives libgvplugin ?


Don't quite understand your question, but it looks like the ebuild is looking for libpng 1.4
Code:
  /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpng14
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4055
Location: india

PostPosted: Thu Oct 06, 2011 1:50 pm    Post subject: Reply with quote

well you are right
i had only libpng 1.2 and 1.5
now i merged 1.4 also
thanks .i was looking at the libgvplugin at error 1
thank you :)
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Thu Oct 06, 2011 3:08 pm    Post subject: Reply with quote

you're welcome
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4055
Location: india

PostPosted: Thu Oct 06, 2011 3:51 pm    Post subject: Reply with quote

even then i get same failure saying lpng 14 not found
i will try after a restart if it helps
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5653

PostPosted: Thu Oct 06, 2011 6:11 pm    Post subject: Reply with quote

:roll: Really, as if it was the first major libpng upgrade in recent months.

Check your la files and your pkg-config files for references to libpng14 - most likely you'll need either to reemerge those or emerge more recent versions.
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4055
Location: india

PostPosted: Fri Oct 07, 2011 1:40 am    Post subject: Reply with quote

ramaswamy@localtux ~ $ eix libpng
Code:
[I] media-libs/libpng
     Available versions:
        (1.2)   1.2.45 (~)1.2.46
        (0)     1.4.8 (~)1.4.8-r1 (~)1.5.4-r1 (~)1.5.5
        (1.4)   (~)1.4.8-r2
        {apng static-libs}
     Installed versions:  1.2.46(1.2)(07:15:13 PM 09/22/2011) 1.4.8-r2(1.4)(07:09:33 PM 10/06/2011)(-apng) 1.5.5(07:27:11 AM 09/25/2011)(-apng -static-libs)
     Homepage:            http://www.libpng.org/
     Description:         Portable Network Graphics library

* media-plugins/gst-plugins-libpng
     Available versions:  (0.10) 0.10.23!t 0.10.28!t 0.10.30!t
     Homepage:            http://gstreamer.freedesktop.org/
     Description:         GStreamer encoder/decoder for PNG images

Found 2 matches.
ramaswamy@localtux ~ $


they are the latest versions installed.
is there any useflag i am missing?
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4122
Location: Houston, Republic of Texas

PostPosted: Fri Oct 07, 2011 2:05 am    Post subject: Reply with quote

Code:

emerge lafilefixer


then repeat the following until there are no more errors
Code:

lafilefixer --justfixit

_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4055
Location: india

PostPosted: Fri Oct 07, 2011 2:42 am    Post subject: Reply with quote

Code:
already clean, skipping update.


i got the same already clean message for all lafiles.
graphviz gets stuck there for lpng14
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4055
Location: india

PostPosted: Fri Oct 07, 2011 3:17 am    Post subject: Reply with quote

Code:
lrwxrwxrwx  1 root root       11 Sep 25 07:27 libpng.so -> libpng15.so
-rwxr-xr-x  1 root root   157396 Sep 22 19:15 libpng12.so.0
-rwxr-xr-x  1 root root   161376 Oct  6 19:09 libpng14.so.14
lrwxrwxrwx  1 root root       18 Sep 25 07:27 libpng15.so -> libpng15.so.15.5.0
lrwxrwxrwx  1 root root       18 Sep 25 07:27 libpng15.so.15 -> libpng15.so.15.5.0
-rwxr-xr-x  1 root root   177828 Sep 25 07:27 libpng15.so.15.5.0


looks like libpng14 is not linked
how do i set it?
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5653

PostPosted: Fri Oct 07, 2011 1:29 pm    Post subject: Reply with quote

It's not linked, cause it shouldn't be.

Emerge one more time, with 'V=1' and post the full linking command (both of them).
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4055
Location: india

PostPosted: Fri Oct 07, 2011 2:12 pm    Post subject: Reply with quote

i have not seen an emerge with V=1
how do i give the command ?
what does it mean? do i re merge all three libpng versions?
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Fri Oct 07, 2011 2:23 pm    Post subject: Reply with quote

This thread is duplicate of http://forums.gentoo.org/viewtopic-t-894950-highlight-.html
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Oct 23, 2011 7:55 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads.
see above post
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum