Hey Guys,
I’m running into an error when building on a new centos 7 machine. Any ideas?
My config script is as follows:
CPPFLAGS="-L/usr/local/lib -I/usr/local/include" \
./configure --enable-examples \
--enable-debug \
--enable-depends \
--enable-maintainer-documentation \
--enable-shared_dependencies \
--disable-perl \
--disable-python \
--disable-python3 \
There error when running make:
g++ -g -O2 -fPIC -DHAVE_CONFIG_H `/root/libRETS/librets-config-inplace --cflags` -g -DLIBRETS_VERSION='"1.6.3-SNAPSHOT"' -I./project/librets/include -I/root/libRETS/project/swig/php5 \
-I/root/libRETS/project/swig -I/usr/include `php-config --includes` -c build/swig/php5/librets_wrap.cpp -o build/swig/php5/librets_wrap.o
g++ `/root/libRETS/librets-config-inplace --cflags` -g -O2 -fPIC -DHAVE_CONFIG_H -I./project/librets/include -I/root/libRETS/project/swig -I/usr/include -c /root/libRETS/project/swig/librets_bridge.cpp -o build/swig/librets_bridge.o
g++ -shared -o build/swig/php5/librets.so build/swig/php5/librets_wrap.o \
`php-config --ldflags` `php-config --libs` `/root/libRETS/librets-config-inplace --libs` build/swig/librets_bridge.o
/usr/bin/ld: cannot find -ledit
collect2: error: ld returned 1 exit status
make[1]: *** [build/swig/php5/librets.so] Error 1
It turns out it was a boost issue with centos 7 … I had to install the latest version from the source. I do have an issue with librets.so loading with php now though:
libboost_filesystem-gcc48-mt-1_64.so.1.64.0: cannot open shared object file: No such file or directory in Unknown on line 0
Do I need to link this file elsewhere?
The current libboost file specified above is in the /usr/local/lib directory so I’m stumped.
|
G. Richard Bellamy Chief Technology Officer Terradatum, Inc. |