This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] sqlite-3.0.7


Jari schrieb:


| >> ...."warning: undefined symbols not allowed in i686-pc-cygwin shared
| >> libraries."
| >> So there's something missing for cygsqlite-6.dll
| >> With dllwrap and the def file it works fine.

> Is there guidelines how to use dllwrap for package ports somewhere I
> could take a look? I'm not familiar with dllwrap.

Use libtool which uses gcc -shared, just add -no-undefined to the
libsqlite_la_LDFLAGS, run `autoreconf --install --force --verbose' in
the source directory and all happens automagically.


> I'm having problem with install though. Does anyone know what to do
> with this:

> ./libtool --mode=install /bin/install -c libtclsqlite3.la
> /usr/src/build/build/sqlite/sqlite-3.0.7/.inst/usr/lib/sqlite
> libtool: install: error: cannot install `libtclsqlite3.la' to a
> directory not ending in /usr/lib/sqlite

> The makefile portion I added was:

>     install:        sqlite3 libsqlite3.la sqlite3.h
>             $(INSTALL) -d $(DESTDIR)$(libdir)
>             $(LTINSTALL) libsqlite3.la $(DESTDIR)$(libdir)
>     +       $(LTINSTALL) libtclsqlite3.la $(DESTDIR)$(libdir)/sqlite

You shouldn't need to add s.th. to any Makefile.am / .in, if the library
is compiled by libtool it is also installed by libtool.

Should I send you my sqlite patches?

Gerrit
-- 
=^..^=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]