[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: zoo-project 1.7.0



For amd64 we now get a zoo-service error:
https://launchpadlibrarian.net/434343096/buildlog_ubuntu-bionic-amd64.zoo-project_1.7.0+ds-1~bionic1_BUILDING.txt.gz

while for i386, the multiarch patch did not work:

gcc cgictest.o -o cgictest.cgi -L./ -lcgic /usr/lib/i686-linux-gnu/libfcgi.a
gcc: error: /usr/lib/i686-linux-gnu/libfcgi.a: No such file or directory


Here is the patch for the makefile:

--- zoo-project-1.7.0+ds.orig/thirds/cgic206/Makefile
+++ zoo-project-1.7.0+ds/thirds/cgic206/Makefile
@@ -4,7 +4,7 @@ ifeq ($(OS),Darwin)
     MACOS_CFLAGS=-arch x86_64
     LIBS= -L./ -lcgic /usr/local/lib/libfcgi.dylib
 else
-    LIBS= -L./ -lcgic /usr/lib/libfcgi.a
+    LIBS= -L./ -lcgic /usr/lib/${CPU}-linux-gnu/libfcgi.a
 endif
 CFLAGS=-I/usr/local/include -g -Wall ${MACOS_CFLAGS}
 CC=gcc

Any ideas how to improve this?

On 7/23/19 7:19 PM, Angelos Tzotsos wrote:
Ah, I just saw that there used to be a patch for that, will restore it.

On 7/23/19 6:32 PM, Sebastiaan Couwenberg wrote:
On 7/23/19 5:18 PM, Angelos Tzotsos wrote:
gcc cgictest.o -o cgictest.cgi -L./ -lcgic /usr/lib/libfcgi.a
gcc: error: /usr/lib/libfcgi.a: No such file or directory
So it wants the fcgi static library, apt-file is your friend again:

  $ apt-file search libfcgi.a
  libfcgi-dev: /usr/lib/x86_64-linux-gnu/libfcgi.a

If the non-multiarch path is hardcoded, that needs to be patched.

Kind Regards,

Bas





-- 
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos

Reply to: