Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-28-2009, 11:38 AM   #1
Registered: May 2004
Posts: 43

Rep: Reputation: 15
Trouble building static wireshark

Hi all,

I wanted to make a static version of the current stable wireshark so I used:

./configure --enable-static

When I type make it builds for a while then exits with the following error:
/usr/bin/ld: attempted static link of dynamic object `/usr/lib/'
collect2: ld returned 1 exit status

The file the error is referring to exists. Any ideas?
Old 03-29-2009, 05:12 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Do you have the static GTK+ library installed? The library referred to in the error message is the dynamic library. The static library should be named libgtk-x11-2.0.a


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
building glibc 2.3.5 for static linking. rekhakp Linux - Software 0 04-26-2005 01:17 PM
Static IP trouble with linksys BEFW11S4 dizzutch Linux - Networking 8 01-17-2005 02:18 PM
Iptable setup for a static ip and ftp trouble. wr3kt Linux - Networking 4 05-07-2004 02:57 AM
sound trouble... static lynnsbomb Mandriva 4 04-13-2004 09:27 PM
Building static binaries nikhiljosh Linux - General 1 10-15-2003 10:04 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:57 PM.

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