Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 344033

Summary: net-analyzer/wireshark-1.2.12 - libtool: install: error: relink `libwireshark.la' with the above command before installing it
Product: Gentoo Linux Reporter: Alexey Shildyakov <ashl1future>
Component: [OLD] UnspecifiedAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED INVALID    
Severity: normal CC: netmon
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Complete build.log
emerge --info

Description Alexey Shildyakov 2010-11-03 22:18:05 UTC
collect2: ld returned 1 exit status
libtool: install: error: relink `libwireshark.la' with the above command before installing it
make[4]: *** [install-libLTLIBRARIES] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-1.2.12/work/wireshark-1.2.12/epan'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-1.2.12/work/wireshark-1.2.12/epan'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-1.2.12/work/wireshark-1.2.12/epan'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-1.2.12/work/wireshark-1.2.12'
Comment 1 Alexey Shildyakov 2010-11-03 22:19:33 UTC
Created attachment 253081 [details]
Complete build.log
Comment 2 Alexey Shildyakov 2010-11-03 22:20:16 UTC
Created attachment 253083 [details]
emerge --info
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-04 16:29:05 UTC
Why did you pack a single file in a tar archive?
Comment 4 Alexey Shildyakov 2010-11-04 16:32:08 UTC
I usually packs in tar.gz and don't think about. The max size of attach is only 1Mb so I packed it. Is it a problem?
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-11-05 09:33:57 UTC
Thank you for report Alexey.

(In reply to comment #4)
> I usually packs in tar.gz and don't think about. The max size of attach is only
> 1Mb so I packed it. Is it a problem?

Not a problem, but it requires additional things to do (download/unpack), just to see build.log. So if it's not large better attach it as plain text (if possible). BTW note, that attached tar.gz was gzippped twice :) I had to gunzip it and then it tar xzf. )

Unfortunately I don't see why build failed. There is:
collect2: ld returned 1 exit status

but nothing point why ld failed... Could you try to rebuild and attach another build.log? Also if there will be no error message too, please, go to build directory and run make there manually.
Comment 6 Alexey Shildyakov 2010-11-05 20:30:48 UTC
Its very strange but now it compile. After emerge --sync.
Sorry for this report.