Opened 10 years ago

Closed 10 years ago

#5434 closed bug (invalid)

Linking a shared library against _APP_ does not work as in BeOS R5

Reported by: Anarchos Owned by: bonefish
Priority: low Milestone: Unscheduled
Component: System/runtime_loader Version: R1/Development
Keywords: _APP_ shared Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

Even if a library should not be linked against _APP_, it is the case for libpq.so, the postgresql library included in the BeOS PHP port. On BeOS it works fine, on Haiku it raises the error : "runtime_loader: Cannot open file _APP_: No such file or directory"

Change History (1)

comment:1 by bonefish, 10 years ago

Resolution: invalid
Status: newclosed

All you have to do is set your application's soname to "_APP_" and everything will work as expected. It may be that BeOS had some special handling for the case that this had not been done for the application, but I don't see compelling reasons to do that.

Note: See TracTickets for help on using tickets.