[opendbx] error while loading shared libraries
Brought to you by:
nose
From: Mariano M. P. <mar...@gm...> - 2008-01-25 11:24:06
|
Hi everybody! I could install and use openDBX in my ubuntu with postgreSQL. Now i am trying to install it in other pc and i have a problem. I installed openDBX without problem, but when i try to execute a simple example to use it, i have this error: ./Prueba: error while loading shared libraries: libopendbx.so.1: cannot open shared object file: No such file or directory If i look in my filesystem, i don't have that file. Neither i in MY pc where this example work well. The file i DO have is libopendbx.so.1.1.0 This test is a Prueba.c that connects to postgresql and do some querys. I compile it with this: COMPILER = gcc CCFLAGS = -O2 -g -Wall -fmessage-length=0 -I/usr/local/include OBJS = Prueba.o LIBS = -lopendbx TARGET = Prueba LDFLAGS = -L/usr/local/lib -L/usr/local/lib/opendbx -L/usr/local/lib/pkgconfig $(TARGET): $(OBJS) ${COMPILER} ${CCFLAGS} $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS) all: $(TARGET) clean: rm -f $(OBJS) $(TARGET) Very thanks in advance Mariano |