[SOLVED]Integrating Poppler in QT4
-
Short version: you are missing a symbolic link call libpoppler-qt4.so.
@ln -s /usr/lib/libpoppler-qt4.so.3 /usr/lib/libpoppler-qt4.so@
As for the package stuff: are you using a linux distribution ?
-
hi,
Thank you. your right i'm missing symbolic link.
after
@ ln -s /usr/lib/libpoppler-qt4.so.3 /usr/lib/libpoppler-qt4.so @
it works fine.
thank you very much.
-
Hi,
It is working fine in x86 compiler.
But how to get the libpoppler-qt4.so for ARM compiler.
or How to cross compile poppler for ARM.Configuring with "./configure --host=arm-linux-gcc" will work right?
-
Hi,
I am trying to configure with cross compile with no success
i used
@./configure --host=/usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi/bin/arm-linux-g++ --prefix=/usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/usr/lib/ @
its generating the
libpoppler.so,libpoppler-cpp.so 's but not the libpoppler-qt4.so or its derivatives.
-
Did you cross-compile or already have all dependencies for poppler ? If you don't have Qt for ARM, it won't build it
-
yea i'm using the QT for ARM integrated in Eclipse C++ IDE.when i compile it with arm-linux-gcc its not creating the libpoppler-qt4.so or its derivatives but creates the libpoppler-cpp.so in ARM compile.
-
I tried with libraries from
@https://launchpad.net/~ubuntu-security/+archive/ppa/+build/4407291@
But its showing undefined references....
@./lib/libpoppler-qt4.so: undefined reference toPDFDoc::isLinearized()' ./lib/libpoppler-qt4.so: undefined reference to
FormWidgetText::noSpellCheck() const'
./lib/libpoppler-qt4.so: undefined reference toFormWidgetChoice::deselectAll()' ./lib/libpoppler-qt4.so: undefined reference to
Page::getAnnots(Catalog*)'
./lib/libpoppler-qt4.so: undefined reference toTextWordList::~TextWordList()' ./lib/libpoppler-qt4.so: undefined reference to
Annots::~Annots()'
./lib/libpoppler-qt4.so: undefined reference to `typeinfo for OutStream'
@ -
Are you sure that the build system finds your arm Qt ?
If you download pre-built package, you also have to download their dependencies
-
can you pls tell me where i can find the source package for arm linux(armel).i tried different sources compilation.
-
yea i installed binaries for arm and its dependencies.finally its throwing only one error..
@
/lib/libpoppler.so: undefined reference to `__longjmp_chk@GLIBC_2.11'
@ -
It means a package has been linked to a pretty old version of glibc. Are you sure you downloaded the latest version of the armel libraries ?
-
which one is older version libpoppler.so? or libpoppler-qt4?
-
They should be same since they are built at the same time
-
hi one library need libssl.s0.1.0.0 and another needs libssl.s0.1.0.1
how to deal with this. if i create soft link for one of it another is not working.pls help -
Seems there's something wrong in your dependencies. Check that you download all packages from the same distribution
-
Actually i downloaded dependencies www.openmamba.org
how to ensure it as from same distribution? -
Don't know this one, generally if I need to download precompiled package I go for the debian armel architecture.
-
now trying to solve this error.
@
/usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/usr/lib/libldap-2.4.so: undefined reference tosys_nerr@GLIBC_2.12' /usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/usr/lib/libldap-2.4.so: undefined reference to
sys_errlist@GLIBC_2.12'
@ -
finally managed to compile successfully.
@
arm-linux-g++ -o pdfviewer debug/documentwidget.o debug/main.o debug/window.o debug/moc_documentwidget.o debug/moc_window.o debug/moc_poppler-optcontent.o -L/usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/usr/lib -L/usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/usr/lib -lpoppler-qt4 -lpoppler -llcms -llcms2 -ltiff -lpng15 -lopenjpeg -lbz2 -lfreetype -lfontconfig -lexpat -ljbig -ljpeg -lstdc++ -lpoppler-glib -llzma -lcares -llber-2.4 -lsasl2 -lssh2 -lgpg-error -lgcrypt -lcurl -lldap-2.4 -lcrypto -lssl -lQtGui -lQtNetwork -lQtCore -lpthread
@but its showing error in runtime as
@
/home/pdf_viewer # ./pdfviewer -qws
./pdfviewer: error while loading shared libraries: libpoppler-qt4.so.4: cannot open shared object file: No such file or directory@
what is the problem ? :-)
-
Yea finally it came. copied .so files to target lib folder.SUCCESS!!!!
Thank you very much for your suggestions :-)