php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58862 error running ./config
Submitted: 2009-09-20 01:36 UTC Modified: 2012-03-17 14:16 UTC
From: mikeb at fellowshipholden dot com Assigned:
Status: No Feedback Package: shape (PECL)
PHP Version: 5.2.9 OS: suse linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mikeb at fellowshipholden dot com
New email:
PHP Version: OS:

 

 [2009-09-20 01:36 UTC] mikeb at fellowshipholden dot com
Description:
------------
I have shapelib installed, and the lib is located in /usr/local/lib/libshp.so

When I run ./configure, or when the PECL installer tries to run it, it says:

checking for shpopen in -lshp... no
configure: error: wrong shp lib version or lib not found

I started going through the configure script, and found two lines:

LIBNAME=shp # you may want to change this
LIBSYMBOL=SHPOpen # you most likely want to change this

So I indeed changed these values, hopefully corresponding to my version of shp lib:

LIBNAME=libshp # you may want to change this
LIBSYMBOL=shpopen # you most likely want to change this

but I still get the same error.  I've tried variants, with upper/lowercase SHPOpen, and libshp, libshape, shapelib, shplib, etc, but to no avail.

I then tried compiling shplib myself, and made sure to include shpopen.o, and tried to configure, but it fails.

I've been on this problem for 2 days now, and really need a solution.  I've already looked elsewhere for help or even alternatives to this PECL extension.  If I can't solve this problem, perhaps I'll just have to write my own extension, or just write a little C program that does what I want so I can execute it from PHP.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-21 04:52 UTC] andrey@php.net
Hi, can you try latest SVN or you are using source packages?
I committed a fix, I think it should help.
 [2012-03-17 14:16 UTC] mj@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2012-03-17 14:16 UTC] mj@php.net
-Status: Feedback +Status: No Feedback
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC