Giter Site home page Giter Site logo

Comments (7)

kuno avatar kuno commented on August 15, 2024

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.

slyons avatar slyons commented on August 15, 2024
$ 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.

kuno avatar kuno commented on August 15, 2024

Please update to 1.4.7, then try it again.

from geoip.

kuno avatar kuno commented on August 15, 2024

The support for 1.4.6 has been dropped, informally.

from geoip.

slyons avatar slyons commented on August 15, 2024

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.

kuno avatar kuno commented on August 15, 2024

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.

slyons avatar slyons commented on August 15, 2024

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
--kuno

Reply to this email directly or view it on GitHub:
#19 (comment)

from geoip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.