Skip to main content

Thread: install library


i'm setting autotools project, , in working, except library (libplot.so) gets installed /usr/local/lib , program looks in /usr/lib. how install linking work automatically without manually creating symbolic link?

heres makefile.am
code:
lib_ltlibraries = libplot.la    plotincludedir = $(includedir)/plot  plotinclude_headers = 		\  	canvas.h		\  	plot.h    libplot_la_sources =		\  	$(plotinclude_headers)	\  	canvas.c		\  	graph.c			\  	linkedlist.c		\  	plot.c			\  	skewt.c			\  	linkedlist.h		\  	common.h		\  	graph.h    am_cflags = -wall 		\  	`pkg-config gtk+-2.0 --cflags`    libplot_la_ldflags = `pkg-config gtk+-2.0 --libs`

its more configure script
$ ./configure --prefix=/usr
right install locations in makefiles generated


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs [SOLVED] install library


Ubuntu

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support