Mantis Issue Tracking for Scribus
· Hosting provided by Anduin.net / Øverby Consulting ·

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010851ScribusScripterpublic12-Jul-07 14:4012-Jul-26 17:04
Reporteroberten 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSUbuntuOS Version12.04
Product Version1.5.0svn 
Target VersionFixed in Version 
Summary0010851: Scribus crashes at startup when built with scripter 2
DescriptionHere is my working configure command:
cmake ../scribus -DCMAKE_INSTALL_PREFIX:PATH=/opt/scribus -DWANT_GRAPHICSMAGICK=1 -DWITH_PODOFO=1 -DWANT_SYSTEM_CAIRO=1 -DAPPLICATION_DATA_DIR=.scribus-trunk

If I add -DWANT_SCRIPTER2=1, Scribus crashes at startup with

ScripterImpl object created
PreferencesAPI loaded
DialogsAPI loaded


Pythonize constructor -- pid = 1444
/opt/scribus/bin/scribus: symbol lookup error: /opt/scribus/lib/scribus/plugins//libscripter.so: undefined symbol: Py_IsInitialized

Steps To ReproduceBuild with

cmake ../scribus -DCMAKE_INSTALL_PREFIX:PATH=/opt/scribus -DWANT_GRAPHICSMAGICK=1 -DWITH_PODOFO=1 -DWANT_SCRIPTER2=1 -DWANT_SYSTEM_CAIRO=1 -DAPPLICATION_DATA_DIR=.scribus-trunk
make
make install

Start Scribus
Additional Information-- Shared Library Flags:
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Scribus 1.5.0.svn will be built to install into /opt/scribus
-- Machine: x86_64-linux-gnu, void pointer size: 8
-- Found target X86
-- Found target X86_64
-- Building for target x86_64-linux-gnu
-- Using ApplicationDataDir .scribus-trunk instead of the platform default.
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.1", required is "4.7.0")
Qt4 Found OK
-- QtWebkit Found OK
-- Building without Qt3 Support (GOOD)
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so
ZLIB Library Found OK
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so
Using PNG Library: /usr/lib/x86_64-linux-gnu/libpng.so
PNG Library Found OK
OSG found OK
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
JPEG Library Found OK
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so
TIFF Library Found OK
-- Found PythonLibs: /usr/lib/libpython2.7.so (found version "2.7.3")
Python Library Found OK
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.4.9")
-- FreeType2 Library Found OK
-- Looking for FT_Get_First_Char in /usr/lib/x86_64-linux-gnu/libfreetype.so
-- Looking for FT_Get_First_Char in /usr/lib/x86_64-linux-gnu/libfreetype.so - found
-- Looking for FT_Get_Next_Char in /usr/lib/x86_64-linux-gnu/libfreetype.so
-- Looking for FT_Get_Next_Char in /usr/lib/x86_64-linux-gnu/libfreetype.so - found
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for one of the modules 'libcairo>=1.2.0;cairo>=1.2.0'
CAIRO Library Found OK
-- Found Cups: /usr/lib/x86_64-linux-gnu/libcups.so (found version "1.5.3")
CUPS Library Found OK
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.7.8")
LIBXML2 Library Found OK
LCMS ReleaseLibrary: /usr/lib/x86_64-linux-gnu/liblcms.so
LCMS Debug Library: LCMS_LIBRARY_DEBUG-NOTFOUND
LCMS Library: /usr/lib/x86_64-linux-gnu/liblcms.so
LCMS 2 ReleaseLibrary: /usr/lib/x86_64-linux-gnu/liblcms2.so
LCMS 2 Debug Library: LCMS2_LIBRARY_DEBUG-NOTFOUND
LCMS 2 Library: /usr/lib/x86_64-linux-gnu/liblcms2.so
LittleCMS-2 Library Found OK
-- checking for one of the modules 'fontconfig'
FontConfig Found OK
-- Found ASPELL: /usr/lib/libaspell.so
ASpell Found OK
PoDoFo found OK
-- Boost version: 1.46.1
Boost Library Found OK
-- checking for module 'GraphicsMagick'
-- found GraphicsMagick, version 1.3.12
GRAPHICS_MAGIC debug: pkgconf: /usr/include/GraphicsMagick, include:/usr/include lib:/usr/lib/libGraphicsMagick.so
-- Found GMAGICK: /usr/lib/libGraphicsMagick.so
GraphicksMagick Found OK
-- checking for one of the modules 'libpoppler>=0.17.1;poppler>=0.17.1'
-- Found poppler
-- Found poppler libs: /usr/lib/x86_64-linux-gnu/libpoppler.so
-- Found poppler includes: /usr/include/poppler
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- GMAGICK: Libs: /usr/lib/libGraphicsMagick.so, Inc: /usr/include/GraphicsMagick, Ldflags:
RPATH: lib/scribus/plugins/;
-- /usr/lib/x86_64-linux-gnu/libQtCore.so/usr/lib/x86_64-linux-gnu/libQtGui.so/usr/lib/x86_64-linux-gnu/libQtXml.so/usr/lib/x86_64-linux-gnu/libxml2.so/usr/lib/x86_64-linux-gnu/libz.so
-- Building with Scripter 2
-- Source header files will be installed
-- /home/blabla/scribus/resources/translations/po
-- The following GUI languages will be installed:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/blabla/scribus-build
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0028397)
ale (manager)
12-Jul-07 17:50

hi olivier,

do you have a clean build and bin directories?

looks like a "libraries" mismatch...

you can try to rename both and see if it works, then...
(0028402)
oberten (reporter)
12-Jul-08 16:24

I just tried again with new directories, just in case. Here are the commands I used:

svn co svn://scribus.net/trunk/Scribus [^] scribusclean
mkdir scribusclean-build
cd scribusclean-build
cmake ../scribusclean -DCMAKE_INSTALL_PREFIX:PATH=/opt/scribus -DWANT_GRAPHICSMAGICK=1 -DWITH_PODOFO=1 -DWANT_SCRIPTER2=1 -DWANT_SYSTEM_CAIRO=1 -DAPPLICATION_DATA_DIR=.scribus-trunk
make
rm -rf /opt/scribus
make install

then /opt/scribus/bin/scribus

Same result...
(0028652)
Chelen (developer)
12-Jul-26 17:04

I have the same issue

- Issue History
Date Modified Username Field Change
12-Jul-07 14:40 oberten New Issue
12-Jul-07 17:50 ale Note Added: 0028397
12-Jul-08 16:24 oberten Note Added: 0028402
12-Jul-26 17:04 Chelen Note Added: 0028652



Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker