Comments (7)
what's your version of libgeoip c library?
Current implementation should works fine with version 1.4.6 or 1.4.7 of libgeoip c library.
from geoip.
$ npm install geoip
> [email protected] preinstall /home/ubuntu/logtest/node_modules/syslog-node/node_modules/geoip
> node-waf clean || true; node-waf configure build
Nothing to clean (project not configured)
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.055s)
Waf: Entering directory `/home/ubuntu/logtest/node_modules/syslog-node/node_modules/geoip/build'
[ 1/10] cxx: src/init.cc -> build/default/src/init_1.o
[ 2/10] cxx: src/netspeed.cc -> build/default/src/netspeed_1.o
[ 3/10] cxx: src/country6.cc -> build/default/src/country6_1.o
[ 4/10] cxx: src/country.cc -> build/default/src/country_1.o
[ 5/10] cxx: src/region.cc -> build/default/src/region_1.o
[ 6/10] cxx: src/city.cc -> build/default/src/city_1.o
[ 7/10] cxx: src/org.cc -> build/default/src/org_1.o
[ 8/10] cxx: src/utils.cc -> build/default/src/utils_1.o
[ 9/10] cxx: src/global.cc -> build/default/src/global_1.o
[10/10] cxx_link: build/default/src/init_1.o build/default/src/netspeed_1.o build/default/src/country6_1.o build/default/src/country_1.o build/default/src/region_1.o build/default/src/city_1.o build/default/src/org_1.o build/default/src/utils_1.o build/default/src/global_1.o -> build/default/geoip.node
Waf: Leaving directory `/home/ubuntu/logtest/node_modules/syslog-node/node_modules/geoip/build'
'build' finished successfully (1.889s)
[email protected] ./node_modules/geoip
Node version: 0.4.11
libgeoip version: 1.4.6.dfsg
Results in:
node: symbol lookup error: /home/ubuntu/logtest/node_modules/syslog-node/node_modules/geoip/build/default/geoip.node: undefined symbol: _GeoIP_iso_8859_1__utf8
from geoip.
Please update to 1.4.7, then try it again.
from geoip.
The support for 1.4.6 has been dropped, informally.
from geoip.
I'll have to see if there is a newer version that has been back ported to the server release I'm running. What was the last version/revision that supported 1.4.6?
On 2011-09-03, at 0:00, [email protected] wrote:
The support for 1.4.6 has been dropped, informally.
Reply to this email directly or view it on GitHub:
#19 (comment)
from geoip.
The 0.4.2-2 should works with 1.4.6, but without support for utf8 character (If you don't mind...).
[sudo] npm install [email protected] [-g]
But, still, I highly recommend you update to 1.4.7, it was released about half year ago, should not be difficult to find a way to update.
Best regards
--kuno
from geoip.
Of course I'm sure I can find a way to upgrade :) It's just that 1.4.6 is what comes standard on Ubuntu 10.04. Thanks for the help!
On 2011-09-03, at 19:19, [email protected] wrote:
The 0.4.2-2 should works with 1.4.6, but without support for utf8 character (If you don't mind...).
[sudo] npm install [email protected] [-g]
But, still, I highly recommend you update to 1.4.7, it was released about half year ago, should not be difficulty to find a way to update.
Best regards
--kunoReply to this email directly or view it on GitHub:
#19 (comment)
from geoip.
Related Issues (20)
- installation problema HOT 7
- Bug in the async country lookup method HOT 7
- Build fails on Windows 7 HOT 13
- nan.h error on node v0.10.22 HOT 14
- GeoIP on Ubuntu 13.10 HOT 7
- installation problem HOT 2
- core dump when invalid data file supplied HOT 2
- build fails under node v0.11.13 HOT 2
- Compile for io.js 1.0.4 HOT 2
- nan ~1.8.4 required for io.js 2.x.x compatibility HOT 1
- Synchronous method(the recommended way). why? HOT 1
- Installation on CentOs
- Build failed on io.js v2.3.1 HOT 1
- IP2Location LITE Support HOT 1
- use of static to get the value of info HOT 2
- OS X 10.11 Installation Issues HOT 2
- Doesn't build with nodejs 6.1.0 HOT 3
- Is it possible to use GeoIP2-City.mmdb ?
- Bug report(Mac os X 10.12) HOT 1
- Respect DNT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geoip.