Re: [Haskell-cafe] Undefined symbol error coming from shared, dynamic library.

2011-09-14 Thread Sergiy Nazarenko
Hi, Captain ! I got haskell shared libraries with following cabal command: cabal install --global --reinstall --disable-library-profiling --enable-shared --ghc-option=-dynamic mtl and so on. It allowed me to get haskell libraries and I could compile my own shared libraries. And ldd helps me to

Re: [Haskell-cafe] Undefined symbol error coming from shared, dynamic library.

2011-09-11 Thread Sergiy Nazarenko
, when I was building/testing this project statically.) Thanks, in advance, for any insights! -db On 9/10/11, Sergiy Nazarenko nazarenko.ser...@gmail.com wrote: I've recompiled my library again and now it works without any problem. Probably I made mistake somewhere. Cheers, Sergiy

Re: [Haskell-cafe] Undefined symbol error coming from shared, dynamic library.

2011-09-10 Thread Sergiy Nazarenko
I've recompiled my library again and now it works without any problem. Probably I made mistake somewhere. Cheers, Sergiy ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Undefined symbol error coming from shared, dynamic library.

2011-09-08 Thread Sergiy Nazarenko
Hi David! I've got same problem. As I see that happens before I've updated following packages. I needed it because I compile ghc702. mtl transformers regex-base regex-compat regex-posix hslogger network parsec hslogger HUnit MissingH datetime If this information helps you to figure out this

Re: [Haskell-cafe] Undefined symbol error coming from shared, dynamic library.

2011-09-08 Thread Sergiy Nazarenko
I'm not sure, but I have not other idias yet. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Make shared library - questions

2011-08-26 Thread Sergiy Nazarenko
Hi ! I'm trying to compile shared library. This library will use as part of plugin for some program. If I compile library with option -dynamic my library has links for HS libraries like libHSbase-4.2.0.2-ghc6.12.3.so and so on. But program has crashed constantly. Is it possible to make shared

[Haskell-cafe] Typeclasses, data, constructors

2011-07-27 Thread Sergiy Nazarenko
Hi everyone! I have data declaration like this: data MyTable = MyTableOne Int String | MyTableTwo Int String String and function that insert new row in tables: newRow :: MyTable - IO Int newRow (MyTableOne fld1 fld2 ) = . newRow (MyTableTwo fld1 fld2 fld3 ) = .. That work perfectly, I

[Haskell-cafe] How to select last inserted record from Table Using Database.HSQL.MySQL

2011-07-25 Thread Sergiy Nazarenko
Hi, everyone! trycon - connect mysql bigtables vasya *** stmt' - query trycon INSERT INTO mytable (user,time,host,) VALUES (Vasya,2011.07.30 11.59,foo) I am beginner to use HSQL and I have a problem. I need to know row ID after INSERT into table. fetch stmt' returned False What should I