rpaths not working?
mike at plan99.net
Thu Mar 16 18:02:54 CST 2006
On my system at least it seems DLLs need the rpaths too, from a clean
build of HQ git tree I get this when starting:
8697: file=/opt/wine/lib/wine/ntdll.dll.so ; needed by /opt/wine/bin/../lib/libwine.so.1 
8697: file=/opt/wine/lib/wine/ntdll.dll.so ; generating link map
8697: dynamic: 0x7ffd52dc base: 0x7ff63000 size: 0x0007cb58
8697: entry: 0x7ff6f000 phdr: 0x7ff63034 phnum: 5
8697: file=libwine_unicode.so.1 ; needed by /opt/wine/lib/wine/ntdll.dll.so 
8697: file=/opt/wine/lib/wine/ntdll.dll.so ; destroying link map
wine: failed to initialize: libwine_unicode.so.1: cannot open shared object file: No such file or directory
And sure enough the .dll.so files don't have an $ORIGIN/../ runpath in them.
This seems like winebuild magic, at least, I didn't see any obvious places
in the build system to add the flags. Any idea what's going wrong here?
More information about the wine-devel