On Mon, 15 Feb 2016, Salman Khan wrote:
$ nm /usr/local/lib/libgretl-1.0.so.16.0.0 | grep libgretl_init
0000000000146040 T libgretl_init
That looks OK.
$ cc -vUsing built-in specs. [...]
Nothing apparently untoward there.
$ ld -VGNU ld (GNU Binutils for Ubuntu) 2.24 [...]
Nor there.
So at this point the failure of your compile is a mystery.
Could you try bypassing "make" by running the following shell
command (in the gretl durectory that contains simple_client.c):
cc -g -O2 -Wall -I/usr/local/include \
-I/usr/include/libxml2 \
-I/usr/include/glib-2.0 \
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
-DPREFIX=\"/usr/local\" -fopenmp \
simple_client.c -o simple_client -L/usr/local/lib \
-lgretl-1.0 -lm -lxml2 -lfftw3 -lglib-2.0
Thanks.
Allin Cottrell