pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

undefined PLT symbol



Hi There,

I'm trying to port navit (Car Navigation System) into pkgsrc on NetBSD8. I could resolve all the common compilation problems, now I have the package installed.

Unfortunately when starting the application, I get a reference problem while loading plugins with dlopen.

If anybosy knows how to please help me to resolve. Read Makefile and program output below.


***********************

My Makefile:

GITHUB_PROJECT= navit
DISTNAME=       v0.5.1
PKGNAME=        ${GITHUB_PROJECT}-${DISTNAME}
PKGREVISION=    1
CATEGORIES=     geography
MASTER_SITES=   ${MASTER_SITE_GITHUB:=navit-gps/}
DIST_SUBDIR=    ${GITHUB_PROJECT}

MAINTAINER=     fekete.zoltan%minux.hu@localhost
HOMEPAGE=       https://github.com/navit-gps/navit/
COMMENT=        GPS car navigation system
LICENSE=        gnu-gpl-v2

WRKSRC=         ${WRKDIR}/navit-0.5.1
USE_CMAKE=      yes
USE_LANGUAGES=  c c++

#USE_LIBTOOL=           yes
#USE_PKGLOCALEDIR=      yes
USE_TOOLS+=             cmake gettext

LIBS.Linux+= -ldl

DEPENDS+=       png>=1.6:../../graphics/png
DEPENDS+=       freetype2>=2.9:../../graphics/freetype2
DEPENDS+=       glib2>=2.0:../../devel/glib2
DEPENDS+=       python27-[0-9]*:../../lang/python27
DEPENDS+=       gtk2-[0-9]*:../../x11/gtk2

BUILD_DEPENDS+=gettext-lib-[0-9]*:../../devel/gettext-lib

.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/python27/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
BUILDLINK_TRANSFORM+=opt:-ldl:${BUILDLINK_LDADD.dl:M*}
.include "../../mk/bsd.pkg.mk"
***********************************

My output of the running program:

error:navit:plugin_load:can't load '/usr/pkg/lib64/navit/map/libmap_textfile.so', Error '/usr/pkg/lib64/navit/map/libmap_textfile.so: Undefined PLT symbol "attr_search" (symnum = 2)'
error:navit:map_new:invalid type 'textfile'
error:navit:plugin_load:can't load '/usr/pkg/lib64/navit/graphics/libgraphics_gtk_drawing_area.so', Error '/usr/pkg/lib64/navit/graphics/libgraphics_gtk_drawing_area.so: Undefined PLT symbol "event_request_system" (symnum = 14)' error:navit:graphics_new:Failed to load graphics plugin gtk_drawing_area. error:navit:plugin_load:can't load '/usr/pkg/lib64/navit/gui/libgui_internal.so', Error '/usr/pkg/lib64/navit/gui/libgui_internal.so: Undefined PLT symbol "event_add_idle" (symnum = 4)' error:navit:vehicle_new:invalid source 'gpsd://localhost': unknown type 'gpsd' error:navit:plugin_load:can't load '/usr/pkg/lib64/navit/speech/libspeech_cmdline.so', Error '/usr/pkg/lib64/navit/speech/libspeech_cmdline.so: Undefined PLT symbol "plugin_register_category_speech" (symnum = 1)'
error:navit:speech_new:wrong type 'cmdline'
error:navit:xinclude:Unable to include /usr/pkg/share/navit/maps/*.xml
error:navit:navit_init:FATAL: No GUI available.




Home | Main Index | Thread Index | Old Index