|> The Makefile.shlib changes will have to be discussed with other Linux
|> developers so we are sure it will work on all platforms. The problem with the current settings is that the linker is called directly. This is wrong, it should always be called through the compiler driver (the only exception is `ld -r'). This will make sure that the necessary libraries like libgcc are linked in. But there is still a different problem with the setting of LDFLAGS_ODBC. The psqlodbc module defines the functions _init and _fini which are reserved for the shared library initialisation. These should be changed to constructor functions. Then LDFLAGS_ODBC can be changed to be just `-lm'. Btw, why does it use -Bsymbolic? Andreas Schwab
Showing
Please register or sign in to comment