FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Commit found by message id
Sat, 19 Apr 2008
[ 20:51:13 bsam ] Original commit 
linux_base-fc4 emulators  Deleted Expired files touched by this commit Base set of packages needed in Linux mode (for i386/amd64)
1. Add a symlink from /compat/linux/lib/librt.so.1 to
   /compat/linux/usr/lib/librt.so.1. This bug exists only
   at linux_base-fc4 _and_ osrelease=2.4.2.
2. Bump PORTREVISION.

Note: The symlink is created at pkg-install script since the first
run of '/compat/linux/sbin/ldconfig -r /compat/linux' seems to remove
the link.

Tijl Coosemans <tijl at ulyssis.org>:
-----
This is not really a bug of linux compat, but is because of the
following:

1. opening /path/to/somefile under linux compat first tries
   /compat/linux/path/to/somefile then /path/to/somefile.
2. linux binaries have two search paths for librt.so.1:
   /lib and /usr/lib.
3. fc4 has a librt.so.1 in /lib but it is rejected under 2.4.2
   emulation.
4. fc4 does not have a librt.so.1 under /usr/lib so when the runtime
   linker tries this search path it ends up opening FreeBSD
   /usr/lib/librt.so.1 (because of point 1) and fails.

By adding a softlink in /compat/linux/usr/lib to the librt.so.1 in
/compat/linux/lib, the linker doesn't open the FreeBSD librt.so.1
anymore. Instead, under 2.4.2, it rejects this lib and then tries an
internal search path /lib/obsolete/linuxthreads where it finds the
correct version. Under 2.6.16 the softlink doesn't change anything,
so imho this is something the fc4 port/package should deal with.
-----

PR:             121494
Submitted by:   Jason Bacon <jwbacon at tds.net>
Convinced by:   Tijl Coosemans <tijl at ulyssis.org>
Patched by:     bsam (me)

Number of ports [& non-ports] in this commit: 1

Showing files for just one port: emulators/linux_base-fc4

show all files

hide all files


3 files found
ActionRevisionLinksFile
modify 1.28 View diff View revision /ports/head/emulators/linux_base-fc4/Makefile
modify 1.6 View diff View revision /ports/head/emulators/linux_base-fc4/pkg-install
modify 1.14 View diff View revision /ports/head/emulators/linux_base-fc4/pkg-plist
Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
apache22Jul 24
apache22-event-mpmJul 24
apache22-itk-mpmJul 24
apache22-peruser-mpmJul 24
apache22-worker-mpmJul 24
firefoxJul 23
firefox-develJul 23
firefox-esrJul 23
firefox10Jul 23
firefox15Jul 23
firefox3Jul 23
firefox3-develJul 23
firefox35Jul 23
firefox36Jul 23
linux-firefoxJul 23

10 vulnerabilities affecting 31 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24407
Broken 180
Deprecated 869
Ignore 515
Forbidden 16
Restricted 263
No CDROM 102
Vulnerable 27
Expired 1
Set to expire 856
Interactive 13
new 24 hours 3
new 48 hours5
new 7 days15
new fortnight47
new month104


Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.