[fpc-pascal] linking to dll still fails

Marc Santhoff M.Santhoff at t-online.de
Sun Jun 8 12:04:02 CEST 2008


Hi again,

I have more questions on linking. What can prevent dynamic linking from
being possible? Like in the following snippet from fpcdebug.txt:

00008000:Searching file D:\FPC\2.2.0\BIN\I386-WIN32\libhdf5.dll.a... not found
00008000:Searching file hdf5.dll... found
00008000:unit H5_ATTRIBUTE can't be shared linked, switching to static linking
                      ^^^^^^^^^^^
00008000:Searching file h5_attribute.o... found
00008000:Searching file libimph5_attribute.a... found
00008000:unit SYSTEM can't be shared linked, switching to static linking
                      ^^^^^^^^^^^
00008000:Searching file D:\FPC\2.2.0\units\i386-win32\rtl\system.o... found
00008000:Searching file libimpsystem.a... not found
00008000:Searching file libimpsystem.a... not found
00008000:Searching file D:\FPC\fpcbuild-2.2.0\fpcsrc\packages\extra\hdf5\libimpsystem.a... not found
00008000:Searching file .\libimpsystem.a... not found
00008000:Searching file D:\FPC\fpcbuild-2.2.0\fpcsrc\packages\extra\hdf5\units\i386-win32\libimpsystem.a... not found
00008000:Searching file D:\FPC\2.2.0\units\i386-win32\rtl\libimpsystem.a... found
00008000:unit HDF5 can't be shared linked, switching to static linking
                      ^^^^^^^^^^^^
00008000:Searching file D:\FPC\fpcbuild-2.2.0\fpcsrc\packages\extra\hdf5\hdf5.o... found
00008000:Searching file libimphdf5.a... not found
00008000:Searching file libimphdf5.a... not found
00008000:Searching file D:\FPC\fpcbuild-2.2.0\fpcsrc\packages\extra\hdf5\libimphdf5.a... found
00008000:unit SYSINITPAS can't be shared linked, switching to static linking
                      ^^^^^^^^^^^^^
00008000:Searching file D:\FPC\2.2.0\units\i386-win32\rtl\sysinitpas.o... found
00008000:Searching file libimpsysinitpas.a... not found
00008000:Searching file libimpsysinitpas.a... not found
00008000:Searching file D:\FPC\fpcbuild-2.2.0\fpcsrc\packages\extra\hdf5\libimpsysinitpas.a... not found
00008000:Searching file .\libimpsysinitpas.a... not found
00008000:Searching file D:\FPC\fpcbuild-2.2.0\fpcsrc\packages\extra\hdf5\units\i386-win32\libimpsysinitpas.a... not found
00008000:Searching file D:\FPC\2.2.0\units\i386-win32\rtl\libimpsysinitpas.a... found
00001000:Linking h5_attribute.exe
00008000:Searching file libhdf5.a... not found

Is there any documentation on this topic?
Or maybe some hints how the reason that stops dynamic linking can be
found?

I'm amazed that this is an issue, I would never expect problems on such
matters ...

Marc





More information about the fpc-pascal mailing list