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:


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 => /lib/ (0x4000e000) => /usr/lib/ (0x4002b000) => /usr/lib/ (0x40043000) => /lib/ (0x40065000) => not found => /lib/ (0x4007f000) => /lib/ (0x400da000) => /lib/ (0x40000000)

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

--- php5/Makefile	2010-07-18 12:37:39.155108580 -0600
+++	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

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

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

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

Note: See TracTickets for help on using tickets.