Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#7724 closed defect (fixed)

Php5 is missing a depency on libsqlite3

Reported by: Kyle Anderson <kyle@…> Owned by: developers
Priority: low Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

On a fresh install, installing a php5 package (cgi or cli), the binary is already dependent on sqlite3:

root@dockstar:/# ldd /usr/bin/php-cgi
	libcrypt.so.0 => /lib/libcrypt.so.0 (0x4000e000)
	libz.so => /usr/lib/libz.so (0x4002b000)
	libpcre.so.0 => /usr/lib/libpcre.so.0 (0x40043000)
	libm.so.0 => /lib/libm.so.0 (0x40065000)
	libsqlite3.so.0 => not found
	libc.so.0 => /lib/libc.so.0 (0x4007f000)
	libdl.so.0 => /lib/libdl.so.0 (0x400da000)
	ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)

One solution would be to just make php5 dependent on it:

--- php5/Makefile	2010-07-18 12:37:39.155108580 -0600
+++ php5.dev/Makefile	2010-08-08 19:35:02.967297751 -0600
@@ -52,7 +52,7 @@
 
 define Package/php5
   $(call Package/php5/Default)
-  DEPENDS:=+libpcre +zlib
+  DEPENDS:=+libpcre +zlib +libsqlite3
   ifneq ($(CONFIG_PHP5_LIBXML),)
     DEPENDS+= +libxml2
   endif

But this doesn't seem right. I see that --without-sqlite3 is being used when the package is being built, but I don't why it is making it dependent on this library.

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by acinonyx

Have you selected 'php5-mod-sqlite3' to also build?

comment:2 Changed 7 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with r25674.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.