it works , setting export LD_LIBRARY_PATH=$dir/libpng:$LD_LIBRARY_PATH , solved problem , so it was not so big problem , also System.load( new File( dir_application, "libpng12.so.0.40.0" ) works
On Thu, Feb 4, 2010 at 10:05 PM, Frank T. Bergmann < [email protected]> wrote: > You should be fine by copying libpng (1.2) into another folder ... then > prior to launching your qtjambi app try setting the LD_LIBRARY_PATH to first > look into the folder where the old libpng is ... that should suffice to load > the old lib > > l > > Frank > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Rene > *Sent:* Thursday, February 04, 2010 12:22 PM > *To:* [email protected] > *Subject:* [Qt-jambi-interest] Fwd: Big problem ! linux qtjambi build > failing after Linux distribution update , both 4.5 and 4.6 > > > > Well what now , libpng is now version 1.4 , qtjambi's qt use ver 1.2 , some > distributions use 1.4 some 1.2 so it seems that I cannot use png's in style > sheets or can I include libpng somehow ? or including libpng.so to jar needs > rebuilding of qt and qtjambi ? Dont know what to do .. I tried to copy > libpng to imageformats subdir extracted in tmp and it didnt help. > > > > On Thu, Feb 4, 2010 at 8:47 PM, Helge Fredriksen <[email protected]> wrote: > > Rene wrote: > > looks like incompatibility with latest libpng 1.4.0 ? Seem like as it > > was updated and qtjambi wont work now , I cannot downgrade it as it > > depends on most main packages like qt f.e. And libpng is not included > > in plugins in qtjambi jar so it seems that we should include it for > > qtjambi to be independent of underlying system ? > > No, regrettably, qtjambi can only guarantee load-time independency of Qt > library updates since those are embedded in the native lib jar file. All > other stuff is linked as shared libraries. Thus, I guess if these change > signatures or are removed from the system qtjambi is being deployed on, > unsatisfied link errors will arise. This will of course also occur on > Windows. To statically link in all dependency will turn the libraries to > giants, don't know if that's feasible. > > Regards, > Helge Fredriksen > > > > -- > Best Regards / S Pozdravom > > Rene Dohan > > http://inno-a-dev.blogspot.com > http://inno-coherences.blogspot.com/ > http://inove-recepty.blogspot.com > http://www.facebook.com/rene.dohan > http://www.qualityunit.com > > > > > -- > Best Regards / S Pozdravom > > Rene Dohan > > http://inno-a-dev.blogspot.com > http://inno-coherences.blogspot.com/ > http://inove-recepty.blogspot.com > http://www.facebook.com/rene.dohan > http://www.qualityunit.com > -- Best Regards / S Pozdravom Rene Dohan http://inno-a-dev.blogspot.com http://inno-coherences.blogspot.com/ http://inove-recepty.blogspot.com http://www.facebook.com/rene.dohan http://www.qualityunit.com
_______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
