Bug 103959

Summary: Firefox and Thunderbird package problem
Product: Ports & Packages Reporter: Richard Bejtlich <taosecurity>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Richard Bejtlich 2006-10-03 21:50:29 UTC
I just installed the following packages from pointyhat.freebsd.org:

firefox-1.5.0.7,1   Web browser based on the browser portion of Mozilla
thunderbird-1.5.0.7 Mozilla Thunderbird is standalone mail and news that stands

When I try to run either, I get the following error:

orr:/home/richard$ firefox
/libexec/ld-elf.so.1: /usr/local/lib/libplds4.so.1: Undefined symbol "gethostbyname_r"

orr:/home/richard$ thunderbird
/libexec/ld-elf.so.1: /usr/local/lib/libplds4.so.1: Undefined symbol "gethostbyname_r"

Fix: 

Unknown -- I plan to try rebuilding the packages myself using the ports tree.

I found libplds4.so in the pkg-plist for linux-firefox and linux-thunderbird:

lib/%%APP_NAME%%/libplds4.so
How-To-Repeat: Install 

http://pointyhat.freebsd.org/errorlogs/i386-6-packages-latest/www/firefox-1.5.0.7,1.tbz
http://pointyhat.freebsd.org/errorlogs/i386-6-packages-latest/mail/thunderbird-1.5.0.7.tbz

and try to run either program.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-10-03 23:58:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 karan496 2006-10-28 12:34:34 UTC
Hello

The (A) solution to this problem is to rebuild the packages containing
libplds4*, this being nspr.

$ cd /usr/devel/nspr && make install FORCE_PKG_REGISTER=wellsure

To find what package a file belongs to you can use.
$ cd /var/db/pkg && grep -rni "libplds" *

Karl Andersson
Comment 3 Jeremy Messenger freebsd_committer freebsd_triage 2006-10-28 19:18:21 UTC
State Changed
From-To: open->closed

Couldn't reproduce it, we don't have any of 6.1-SECURITY in our src tree. 
Therefore, I don't know what 6.1-SECURITY has so you are better off to use 
the ports tree than package (pkg_add). Also, please follow this URL (below) 
in the "1. When should I make a bug report?" part first. 

http://www.freebsd.org/gnome/docs/bugging.html