https://github.com/root-project/root
Revision b2163a63d4fb9baa1ebb54619be1a5d36087e013 authored by Rene Brun on 31 March 2005, 20:13:52 UTC, committed by Rene Brun on 31 March 2005, 20:13:52 UTC
This patch works around yet another library loading issue on MacOS. When using PyROOT, the root libraries are linked in as part of libPyROOT. When executing gSystem->GetLinkedLibraries(), it executes otool on the current executable. When using python, this means it finds only the library from the python executable itself. Since it finds some libraries, this indicates to GetLibraries that it should __not__ used the default link line. On MacOS, since there is one library (libSystem.B) linked in python, this means that the system does not know that it has already loaded the core libraries (and hence the autoloader reload them and since MacOS effectively will load the same library multiple time, this can cause problem). On linux, it happens to work because GetLinkedLibs only keeps the library ending in .so, hence filtering the libraries ending in .so.2 (or any variation). The result is that it looks like python has no linked libraries and the default list is used and everything works fine. git-svn-id: http://root.cern.ch/svn/root/trunk@11466 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 742867f
Tip revision: b2163a63d4fb9baa1ebb54619be1a5d36087e013 authored by Rene Brun on 31 March 2005, 20:13:52 UTC
From Philippe:
From Philippe:
Tip revision: b2163a6
File | Mode | Size |
---|---|---|
README | ||
alien | ||
asimage | ||
base | ||
build | ||
chirp | ||
cint | ||
clarens | ||
clib | ||
config | ||
cont | ||
dcache | ||
eg | ||
etc | ||
fonts | ||
freetype | ||
fumili | ||
g3d | ||
ged | ||
gedold | ||
geom | ||
geompainter | ||
gl | ||
globusauth | ||
gpad | ||
graf | ||
gui | ||
guibuilder | ||
hbook | ||
hist | ||
histpainter | ||
html | ||
icons | ||
io | ||
krb5auth | ||
ldap | ||
macros | ||
main | ||
man | ||
math | ||
matrix | ||
meta | ||
metautils | ||
minuit | ||
mlp | ||
mysql | ||
net | ||
netx | ||
newdelete | ||
oracle | ||
peac | ||
pgsql | ||
physics | ||
postscript | ||
proof | ||
proofd | ||
proofplayer | ||
pyroot | ||
pythia | ||
pythia6 | ||
qt | ||
qtroot | ||
quadp | ||
rfio | ||
rint | ||
roofit | ||
roofitcore | ||
rootd | ||
roots | ||
rootx | ||
rpdutils | ||
ruby | ||
sapdb | ||
sessionviewer | ||
srputils | ||
table | ||
test | ||
thread | ||
tree | ||
treeplayer | ||
treeviewer | ||
tutorials | ||
unix | ||
utils | ||
venus | ||
vmc | ||
vms | ||
win32 | ||
win32gdk | ||
winnt | ||
x11 | ||
x11ttf | ||
x3d | ||
xml | ||
xmlparser | ||
xrootd | ||
zip | ||
.cvsignore | -rw-r--r-- | 52 bytes |
LICENSE | -rw-r--r-- | 1.6 KB |
Makefile | -rw-r--r-- | 29.3 KB |
configure | -rwxr-xr-x | 106.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...