Comments (4)
openresty通常用的是luajit,你切回到纯lua是可以用的,建议使用lua_c模块来代替。
from ip2region.
编译成功了,但是使用的时候
/usr/local/openresty/lualib/ip2region/Ip2region.so: undefined symbol: luaopen_ip2region_Ip2region
from ip2region.
CC = gcc
LIBS = -I ../c/ -I /usr/local/openresty/luajit/include/luajit-2.1
FFLAGS = -O2 -Wall -fPIC
SO_FILE = Ip2region.so
LIB_DIR = /usr/local/openresty/lualib/ip2region
这个是我的makefile 文件
from ip2region.
@wzhsh90 请问你解决了吗
from ip2region.
Related Issues (20)
- python main.py gen has MemoryError crash HOT 1
- 第一次使用,请教下两个问题? HOT 5
- bench测试由于中文编码问题不通过 HOT 1
- 希望CSharp打包时不要将CHANGELOG.md打包进去 HOT 1
- 能支持IPv6吗 HOT 2
- 交流群地址在哪,找了半天没找到,只有一个公众号。 HOT 1
- 希望能更换HttpServlet相关的api到JarkataEE HOT 2
- 是否可以通过增加db大小来实现查询性能提高?
- 在springboot工程中,maven编译时,ip2region.db被重新编码
- nodejs 高并发查询 HOT 2
- [数据源更新] 最新数据 HOT 2
- region 为空,不同环境编译出来的可执行文件,mac 有值,ubuntu无值 HOT 1
- nginx 中 识别变量错误 HOT 1
- 能生成只有几个国家的IP段的数据文件吗? HOT 2
- Java中Searcher的loadVectorIndexFromFile方法的dbPath是必须要给到的吗 HOT 1
- 数据文件的文件生成时间可能会溢出
- [数据补充源] IP错误
- 请考虑出一个MAC地址查厂商的库
- 关于线程安全 HOT 2
- 调用偶现段错误问题 HOT 2
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 ip2region.