From: Grigorenko D. <pos...@na...> - 2004-07-14 20:49:57
|
Hello > As you see when occ.exe is loaded the dynamic linker will pick the > global cygltdl.dll; I`m sorry. The coorect log is here: H:\...ome\Dima\opencxx-2.7\testbed\bin>cygcheck occ.exe Found: .\occ.exe occ.exe .\cygltdl-3.dll h:\cygwin\bin\cygwin1.dll H:\WINDOWS\System32\ADVAPI32.DLL H:\WINDOWS\System32\ntdll.dll H:\WINDOWS\System32\KERNEL32.dll H:\WINDOWS\System32\RPCRT4.dll The previos one described the case when all is correct. I`d like to call attention that sigsegv occurs whith the local (opencxx/) cygltdl-3.dll > ./configure --with-ltdl=/my/path/libltdl > we need to verified that your build does it correctly. I tried ./configure --with-ltdl=/usr/bin becouse the correct cygltdl-3.dll is in the /usr/bin directory 'make test' do not work properly. It steel uses local ltdl and crashes. > > (2) Another solution would be to make OpenC++ by default use > > system-wide cygltdl.dll on Cygwin, as anyway there is no Cygwin on > > Compile Farm. This requires modifying configure.in/Makefile.am, so > > that it does not use libltdl if it is installed. The key point that > > needs to be changed is --enable-ltdl-install in Makefile.am, > > because it forces installation of libltdl.so/cygltdl-3.dll > > This does not resolve the Compile farm problem, > because you must not be authorized to replace system library. As far as I understood, the idea is to use system-wide library if it presents. You must not be authorized to do it. Unfortunately I do not know autoconf enough to modify configure.in. At least once I did not investigate it enough. I`ll try later. > > (3) Ultimate solution, which I think is the way to go in the long > > term, would be to > > > > - remove libltdl from OpenC++ at all > > we keep it, it is our development reference. > Others mechanisms provided way around this. I am agree. |