libxslt missing

Поиск
Список
Период
Сортировка
Искать

libxslt missing

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
In current svn, linking pgadmin3 fails with the following error message:

frmReport.o: In function `frmReport::XslProcessReport(wxString const&, 
wxString const&)':
frmReport.cpp:(.text+0x85d6): undefined reference to `xsltParseStylesheetDoc'
frmReport.cpp:(.text+0x8630): undefined reference to `xsltApplyStylesheet'
frmReport.cpp:(.text+0x8654): undefined reference to `xsltSaveResultToString'
frmReport.cpp:(.text+0x866c): undefined reference to `xsltFreeStylesheet'
frmReport.cpp:(.text+0x8671): undefined reference to `xsltCleanupGlobals'

I had to add -lxslt to the link line to get it to work.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

Re: libxslt missing

От:
"Dave Page" <dpage@vale-housing.co.uk>
Дата:
 

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org 
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of 
> Peter Eisentraut
> Sent: 16 June 2006 14:54
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] libxslt missing
> 
> In current svn, linking pgadmin3 fails with the following 
> error message:
> 
> frmReport.o: In function 
> `frmReport::XslProcessReport(wxString const&, 
> wxString const&)':
> frmReport.cpp:(.text+0x85d6): undefined reference to 
> `xsltParseStylesheetDoc'
> frmReport.cpp:(.text+0x8630): undefined reference to 
> `xsltApplyStylesheet'
> frmReport.cpp:(.text+0x8654): undefined reference to 
> `xsltSaveResultToString'
> frmReport.cpp:(.text+0x866c): undefined reference to 
> `xsltFreeStylesheet'
> frmReport.cpp:(.text+0x8671): undefined reference to 
> `xsltCleanupGlobals'
> 
> I had to add -lxslt to the link line to get it to work.

-xslt should be added by the xslt-config script. Unless there's a subtle
error in acinclude.m4, failure to find the script should be reported.

I imagine this could also be caused by a need to rerun bootstrap.sh...

Regards, Dave.

Re: libxslt missing

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Am Freitag, 16. Juni 2006 16:08 schrieb Dave Page:
> I imagine this could also be caused by a need to rerun bootstrap.sh...

Yes, I didn't realize there was another level of indirection.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/
FAQ