Обсуждение: Whence libpgtcl.so ??
Dear Christopher > Umm, you try loading libpgtcl.so into your new wish yet? There is no file by the name libpgtcl.so on my system. Is there a place to download it? In /usr/local/pgsql/lib there is libpgtcl.a, libpgtcl.sl and libpgtcl.sl.2. Do I just copy the file? Into what directory? I have TclPro 1.2. But no instructions on how to add database support! I'd like to keep Postgress if possible! But I can't, if it locks us into one shell, which must be recompiled every time there is an update. I'm shocked that it's necessary to recompile the shell just to talk to a database. Are there no simpler alternatives, such as an extension? I've tried jultaf pq, which purports to be an extension, but after downloading I found that I needed to compile it! But it won't compile. All other extensions I have tried, all I have to do is copy the directory into the /opt/scriptics/TclPro1.2/lib directory and be done with it. It was always simple. This mess is left to me, because all the Unix consultants quit suddenly, which makes this my first Unix assignment, after working on Windows and NT since Window 3.0... and from what I've seen, the main difference is that Unix programmers document NONE of the many tasks that need to be done to integrate the pieces of a software system, but just "know". Thanks Rob
Sounds like your OS calls the shared library .sl instead of .so...sl == shared library? What OS? On Thu, 2 Sep 1999, Robert Wagner wrote: > Dear Christopher > > > Umm, you try loading libpgtcl.so into your new wish yet? > > There is no file by the name libpgtcl.so on my system. Is there a place to > download it? In /usr/local/pgsql/lib there is libpgtcl.a, libpgtcl.sl and > libpgtcl.sl.2. > > Do I just copy the file? Into what directory? I have TclPro 1.2. But no > instructions on how to add database support! I'd like to keep Postgress if > possible! But I can't, if it locks us into one shell, which must be > recompiled every time there is an update. > > I'm shocked that it's necessary to recompile the shell just to talk to a > database. Are there no simpler alternatives, such as an extension? I've > tried jultaf pq, which purports to be an extension, but after downloading I > found that I needed to compile it! But it won't compile. All other > extensions I have tried, all I have to do is copy the directory into the > /opt/scriptics/TclPro1.2/lib directory and be done with it. It was always > simple. > > This mess is left to me, because all the Unix consultants quit suddenly, For no reason at all, they all flew the coop? :) Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
IT sounds like you got a PostGres distribution without TCL support. If you compiled it yourself, try recompiling with the --with-tcl option. You could probably get way with just grabbing the source tarball for the same version of PostGres you are using, running ./configure --with-tcl then switching into the interfaces/tcl dir and typing make;make install but I couldn't say for sure. At 11:12 AM 9/2/99, Robert Wagner wrote: >Dear Christopher > >> Umm, you try loading libpgtcl.so into your new wish yet? > >There is no file by the name libpgtcl.so on my system. Is there a place to >download it? In /usr/local/pgsql/lib there is libpgtcl.a, libpgtcl.sl and >libpgtcl.sl.2. [snip]