Bug 81382

Summary: [fix] databases/php5-oracle: oracle extension doesn't work
Product: Ports & Packages Reporter: Simun Mikecin <sime>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Simun Mikecin 2005-05-23 08:00:20 UTC
	oracle.so has undefined symbols, so it isn't usable at all.  This is
	because of the way it is linked to the libraries from the
	oracle7-client port.  Those libraries have circular dependency to
	each other, and that can't be solved if linking using gcc since gcc
	removes duplicate "-larchive" parameters before sending it to ld. 
	My patch solves this by linking with only one library (recreated
	from libraries in the oracle7-client port).

How-To-Repeat: 	$ php -r 'echo "Hello World\n";'
	PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030/oracle.so' - /usr/local/lib/php/20041030/oracle.so: Undefined symbol &quot;nscontrol&quot; in Unknown on line 0
	Hello World
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-05-24 21:52:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to extensions lord
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2005-06-14 15:27:34 UTC
State Changed
From-To: open->closed

Committed, thanks!