spanesso / php-sweph

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

Errors in revision #27 #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
After compile sweph.so got error:

PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php5/20121212/sweph.so' - /usr/lib/php5/20121212/sweph.so: undefined 
symbol: swe_lun_eclipse_when_loc in Unknown on line 0

The same error for 3 next functions. Comment these functions and compile again:

swe_lun_eclipse_when_loc
swe_lmt_to_lat
swe_lat_to_lmt

Now it is work.

Original issue reported on code.google.com by ram...@yandex.ru on 3 Mar 2015 at 12:07

GoogleCodeExporter commented 8 years ago
FIX:

There is an old version of libswe.a in the archive 
ftp://ftp.astro.com/pub/swisseph/swe_unix_src_2.00.00.tar.gz. That is why got 
that errors with absent functions.

To fix it should 'make' new libswe.a. Now swe_lun_eclipse_when_loc, 
swe_lmt_to_lat, swe_lat_to_lmt works too.

Original comment by ram...@yandex.ru on 3 Mar 2015 at 1:37