HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: php compile
Operating System - HP-UX
1833461
Members
3124
Online
110052
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 08:14 PM
07-14-2004 08:14 PM
php compile
Iplanet + php 4.3.7 + oracle client
State :
Iplanet, oracle client : installed
compiler : gcc
When php compile, I had a message,
#./configure --with-oci8=/orahome --with-nsapi=/iplanet/server
---------
cp: cannot access libs/libphp4.sl: No such file or directory
make: *** [install-sapi] Error 1
---------
After 'make' , In php/libs directory *.sl file is not in.
1. library path problem?
In .profile file,
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
or
2. ld problem?
when it is compiled, warning message display
----message
*** Warning: linker path does not have real file for library -l:libcl.a.
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 because I did check the linker path looking for a file starting
with lib:libcl.a and none of the candidates passed a file format test
using a file magic. Last file checked: /lib/libnsl.1
Warning: linker path does not have real file for library -l:librt.sl.
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
because I did check the linker path looking for a file starting with lib:librt.sl and none of the candidates passed a file format test
using a file magic. Last file
checked: /lib/libnsl.1
------------
or
3. other message
/usr/ccs/bin/ld: (Warning) At least one PA2 object file (su9_prt.o) was detected. The linked output may not work on PA 1.x system.
Is there different between PA2.X and PA1.x?
(I don't know about hpux)
State :
Iplanet, oracle client : installed
compiler : gcc
When php compile, I had a message,
#./configure --with-oci8=/orahome --with-nsapi=/iplanet/server
---------
cp: cannot access libs/libphp4.sl: No such file or directory
make: *** [install-sapi] Error 1
---------
After 'make' , In php/libs directory *.sl file is not in.
1. library path problem?
In .profile file,
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
or
2. ld problem?
when it is compiled, warning message display
----message
*** Warning: linker path does not have real file for library -l:libcl.a.
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 because I did check the linker path looking for a file starting
with lib:libcl.a and none of the candidates passed a file format test
using a file magic. Last file checked: /lib/libnsl.1
Warning: linker path does not have real file for library -l:librt.sl.
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
because I did check the linker path looking for a file starting with lib:librt.sl and none of the candidates passed a file format test
using a file magic. Last file
checked: /lib/libnsl.1
------------
or
3. other message
/usr/ccs/bin/ld: (Warning) At least one PA2 object file (su9_prt.o) was detected. The linked output may not work on PA 1.x system.
Is there different between PA2.X and PA1.x?
(I don't know about hpux)
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 08:57 PM
07-14-2004 08:57 PM
Re: php compile
Hi
For 1 and 2 look at
LD_PRELOAD is implemented as part of dynamic
linker so that libraries specified in
LD_PRELOAD env variable are loaded as part
of a.out dependent's list.
Point 3 there are differences and thus the message
You should always try to compile on the platform you wish to use or use
For compatible code across both PA_RISC 1.1 and 2.0 workstations and
servers, use the +DAportable option.
Steve Steel
For 1 and 2 look at
LD_PRELOAD is implemented as part of dynamic
linker so that libraries specified in
LD_PRELOAD env variable are loaded as part
of a.out dependent's list.
Point 3 there are differences and thus the message
You should always try to compile on the platform you wish to use or use
For compatible code across both PA_RISC 1.1 and 2.0 workstations and
servers, use the +DAportable option.
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 09:17 PM
07-14-2004 09:17 PM
Re: php compile
1. In .profile file,
I have to set, 'LD_PRELOAD=/usr/lib' ?
---
For compatible code across both PA_RISC 1.1 and 2.0 workstations and
servers, use the +DAportable option.
---
where is setting option, '+DAportable'?
^^;
I have to set, 'LD_PRELOAD=/usr/lib' ?
---
For compatible code across both PA_RISC 1.1 and 2.0 workstations and
servers, use the +DAportable option.
---
where is setting option, '+DAportable'?
^^;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 09:22 PM
07-14-2004 09:22 PM
Re: php compile
I add warning messages,
I don't know that php/libs/*.sl file don't create
-------
*** Warning: linker path does not have real file for library -l:libdld.sl.
*** 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
*** because I did check the linker path looking for a file starting
with lib:libdld.sl and none of the candidates passed a file format test
using a file magic. Last file checked: /lib/libnsl.1
*** Warning: libtool could not satisfy all declared inter-library
dependencies of module libphp4. Therefore, libtool will create
a static module, that should work as long as the dlopening
application is linked with the -dlopen flag.
-------------
I don't know that php/libs/*.sl file don't create
-------
*** Warning: linker path does not have real file for library -l:libdld.sl.
*** 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
*** because I did check the linker path looking for a file starting
with lib:libdld.sl and none of the candidates passed a file format test
using a file magic. Last file checked: /lib/libnsl.1
*** Warning: libtool could not satisfy all declared inter-library
dependencies of module libphp4. Therefore, libtool will create
a static module, that should work as long as the dlopening
application is linked with the -dlopen flag.
-------------
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP