[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hpux linking shared library with static library
From: |
Alon Bar-Lev |
Subject: |
hpux linking shared library with static library |
Date: |
Tue, 13 Jul 2010 19:09:26 +0300 |
Hello,
When I try to link shared library with static library on hpux I get
the following message:
"""
*** Warning: This system can not link to static lib archive libcore.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** But as you try to build a module library, libtool will still create
*** a static module, that should work as long as the dlopening application
*** is linked with the -dlopen flag to resolve symbols at runtime.
"""
However if I change libtool:
-deplibs_check_method="file_magic
(s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library"
+deplibs_check_method="pass_all"
It succeed in linking.
Any reason why this is forbidden in hpux?
$ uname -a
HP-UX hpux1 B.11.11 U 9000/800 1528720528 unlimited-user license
Regards,
Alon Bar-Lev.
- hpux linking shared library with static library,
Alon Bar-Lev <=