From: Eddie R. <er...@bm...> - 2008-07-11 20:44:53
|
I did the patch on llvm-2.3 before I configured llvm-2.3. I did a 'make uninstall', then 'make distclean', 'sudo /sbin/ldconfig', './configure --enable-pic', 'make', 'sudo make install', 'pure', and then I get $ pure pure: error while loading shared libraries: libpure-0.5.so: cannot open shared object file: No such file or directory e.r. |
From: Jiri S. <jir...@bl...> - 2008-07-11 21:07:54
|
Eddie Rucker wrote: > I did the patch on llvm-2.3 before I configured llvm-2.3. > > I did a 'make uninstall', then 'make distclean', 'sudo /sbin/ldconfig', > './configure --enable-pic', 'make', 'sudo make install', 'pure', and > then I get > > $ pure > pure: error while loading shared libraries: libpure-0.5.so: cannot > open shared object file: No such file or directory > And 'sudo /sbin/ldconfig' after install? Jiri |
From: Libor S. <li...@gm...> - 2008-07-11 21:16:34
|
sudo /sbin/ldconfig is definitely needed, despite its low prominence in the install instructions. L. On Fri, 11 Jul 2008 22:07:51 +0100, Jiri Spitz <jir...@bl...> wrote: > Eddie Rucker wrote: >> I did the patch on llvm-2.3 before I configured llvm-2.3. >> >> I did a 'make uninstall', then 'make distclean', 'sudo /sbin/ldconfig', >> './configure --enable-pic', 'make', 'sudo make install', 'pure', and >> then I get >> >> $ pure >> pure: error while loading shared libraries: libpure-0.5.so: cannot >> open shared object file: No such file or directory >> > And 'sudo /sbin/ldconfig' after install? > > Jiri > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > pure-lang-users mailing list > pur...@li... > https://lists.sourceforge.net/lists/listinfo/pure-lang-users > |
From: Eddie R. <er...@bm...> - 2008-07-11 21:35:26
|
Well, now after restarting my system, pure runs but from the examples sub-directory: $ export LD_LIBRARY_PATH=. $ pure ... > using "lib:sort"; > using "lib:sort"; <stdin>:1.0-15: sort: cannot open shared object file: No such file or directory > :-( e.r. On Fri, 2008-07-11 at 22:16 +0100, Libor Spacek wrote: > sudo /sbin/ldconfig is definitely needed, despite its low prominence in the install instructions. > L. > > On Fri, 11 Jul 2008 22:07:51 +0100, Jiri Spitz <jir...@bl...> wrote: > > > Eddie Rucker wrote: > >> I did the patch on llvm-2.3 before I configured llvm-2.3. > >> > >> I did a 'make uninstall', then 'make distclean', 'sudo /sbin/ldconfig', > >> './configure --enable-pic', 'make', 'sudo make install', 'pure', and > >> then I get > >> > >> $ pure > >> pure: error while loading shared libraries: libpure-0.5.so: cannot > >> open shared object file: No such file or directory > >> > > And 'sudo /sbin/ldconfig' after install? > > > > Jiri > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > pure-lang-users mailing list > > pur...@li... > > https://lists.sourceforge.net/lists/listinfo/pure-lang-users > > > > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > pure-lang-users mailing list > pur...@li... > https://lists.sourceforge.net/lists/listinfo/pure-lang-users |
From: Jiri S. <jir...@bl...> - 2008-07-11 21:59:05
|
Eddie Rucker wrote: > Well, now after restarting my system, pure runs but from the examples > sub-directory: > > $ export LD_LIBRARY_PATH=. > $ pure > ... > > using "lib:sort"; > > > using "lib:sort"; > <stdin>:1.0-15: sort: cannot open shared object file: No such file or > directory > > Try 'using "lib:sort.so";', it works here for me. Jiri |
From: Albert G. <Dr....@t-...> - 2008-07-12 23:21:54
|
Albert Graef wrote: > Jiri Spitz wrote: >> Try 'using "lib:sort.so";', it works here for me. > > Same over here. I'll have to take a look at the dynamic library > interface to see whether it changed in LLVM 2.3, this definitely used to > work without the .so suffix. Which is preferable, because shared > libraries have different suffixes on different systems. Of course I can > work around that in my code. Ok, I fixed that now. LLVM 2.3 uses dlopen instead of lt_dlopenext, so I had to add some code to take care of the default suffix. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-07-12 00:48:32
|
Eddie Rucker wrote: > Well, now after restarting my system, pure runs That seems to indicate that your ld.so cache wasn't updated after all, and the reboot fixed that. Next time this happens please include the output of running ldconfig -v, that will make it easier to diagnose the problem. In any case this is supposed to work, and it works without a hitch on my SUSE systems. Also note that there's no reason that you need to run ldconfig after installing llvm; all those libraries are static anyway. Only after installing Pure you need to run ldconfig. > but from the examples sub-directory: > > $ export LD_LIBRARY_PATH=. > $ pure > ... > > using "lib:sort"; No error message here? > > using "lib:sort"; > <stdin>:1.0-15: sort: cannot open shared object file: No such file or > directory And then one here? Did you really run that command twice?? -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-07-12 01:03:52
|
Jiri Spitz wrote: > Try 'using "lib:sort.so";', it works here for me. Same over here. I'll have to take a look at the dynamic library interface to see whether it changed in LLVM 2.3, this definitely used to work without the .so suffix. Which is preferable, because shared libraries have different suffixes on different systems. Of course I can work around that in my code. -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-07-12 01:08:05
|
Eddie Rucker wrote: > > using "lib:sort"; > <stdin>:1.0-15: sort: cannot open shared object file: No such file or > directory Also, did you recompile the module? -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Eddie R. <er...@bm...> - 2008-07-11 21:30:13
|
Same old error. I uninstalled llvm and manually killed everything I could find with llvm in my system. I went and got the svn version of llvm-2.3, applied the patch and recompiled. Did the same with pure and did the 'sudo /sbin/ldconfig' after install. No luck :-( e.r. On Fri, 2008-07-11 at 23:07 +0200, Jiri Spitz wrote: > Eddie Rucker wrote: > > I did the patch on llvm-2.3 before I configured llvm-2.3. > > > > I did a 'make uninstall', then 'make distclean', 'sudo /sbin/ldconfig', > > './configure --enable-pic', 'make', 'sudo make install', 'pure', and > > then I get > > > > $ pure > > pure: error while loading shared libraries: libpure-0.5.so: cannot > > open shared object file: No such file or directory > > > And 'sudo /sbin/ldconfig' after install? > > Jiri |
From: Libor S. <li...@gm...> - 2008-07-11 21:53:50
|
Hmmm, that is unlucky. I did much the same and it worked. The only differences being that I got the source tarball from the LLVM site, rather than the svn version, and I put in all those other recommended flags after the LLVM ./configure. And I configured pure with enable-release because I always hope that it will run faster but it did not really. L. On Fri, 11 Jul 2008 22:30:15 +0100, Eddie Rucker <er...@bm...> wrote: > Same old error. I uninstalled llvm and manually killed everything I > could find with llvm in my system. I went and got the svn version of > llvm-2.3, applied the patch and recompiled. Did the same with pure and > did the 'sudo /sbin/ldconfig' after install. No luck :-( > > e.r. > > On Fri, 2008-07-11 at 23:07 +0200, Jiri Spitz wrote: >> Eddie Rucker wrote: >> > I did the patch on llvm-2.3 before I configured llvm-2.3. >> > >> > I did a 'make uninstall', then 'make distclean', 'sudo /sbin/ldconfig', >> > './configure --enable-pic', 'make', 'sudo make install', 'pure', and >> > then I get >> > >> > $ pure >> > pure: error while loading shared libraries: libpure-0.5.so: cannot >> > open shared object file: No such file or directory >> > >> And 'sudo /sbin/ldconfig' after install? >> >> Jiri > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > pure-lang-users mailing list > pur...@li... > https://lists.sourceforge.net/lists/listinfo/pure-lang-users > |
From: Albert G. <Dr....@t-...> - 2008-07-12 23:24:45
|
Albert Graef wrote: > Ok, I fixed that now. LLVM 2.3 uses dlopen instead of lt_dlopenext, so I > had to add some code to take care of the default suffix. Addendum: Please reconfigure to make this work properly on different systems. -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Eddie R. <er...@bm...> - 2008-07-14 12:09:18
|
Everything seems to work again. Thanks guys. e.r. On Sun, 2008-07-13 at 01:24 +0200, Albert Graef wrote: > Albert Graef wrote: > > Ok, I fixed that now. LLVM 2.3 uses dlopen instead of lt_dlopenext, so I > > had to add some code to take care of the default suffix. > > Addendum: Please reconfigure to make this work properly on different > systems. > |