twobob / php-sweph

Automatically exported from code.google.com/p/php-sweph
0 stars 0 forks source link

Error on #make cannot find -lswe #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi there,

When I run make command, the result is here. How can I fix this

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged

[root@vps php-sweph]# make
/bin/sh /home/public_html/includes/emphemeris/php-sweph/libtool --mode=link cc 
-DPHP_ATOM_INC -I/home/public_html/includes/emphemeris/php-sweph/include 
-I/home/public_html/includes/emphemeris/php-sweph/main 
-I/home/public_html/includes/emphemeris/php-sweph -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext 
-I/usr/local/include/php/ext/date/lib 
-I/home/public_html/includes/emphemeris/include  -DHAVE_CONFIG_H  -g -O2  -L. 
-lswe -lm -o sweph.la -export-dynamic -avoid-version -prefer-pic -module -rpath 
/home/public_html/includes/emphemeris/php-sweph/modules  sweph.lo
cc -shared  .libs/sweph.o  -L/home/public_html/includes/emphemeris/php-sweph 
-lswe -lm  -Wl,-soname -Wl,sweph.so -o .libs/sweph.so
/usr/bin/ld: skipping incompatible /usr/local/lib/libswe.a when searching for 
-lswe
/usr/bin/ld: cannot find -lswe
collect2: ld returned 1 exit status
make: *** [sweph.la] Error 1
[root@vps php-sweph]# ls -l modules
total 0

Original issue reported on code.google.com by phucbao on 5 Jul 2015 at 4:10