[wxhaskell-users] can't load .so/.DLL for : stdc++
I have seen this mentioned in various places but haven't seen a solution for it. I'm on Ubuntu Natty using ghc 7.0.3.20110330 running cabal install on my project and I get the below error: Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package array-0.3.0.2 ... linking ... done. Loading package stm-2.2.0.1 ... linking ... done. Loading package bytestring-0.9.1.10 ... linking ... done. Loading package containers-0.4.0.0 ... linking ... done. Loading package filepath-1.2.0.0 ... linking ... done. Loading package old-locale-1.0.0.2 ... linking ... done. Loading package old-time-1.0.0.6 ... linking ... done. Loading package unix-2.4.2.0 ... linking ... done. Loading package directory-1.1.0.0 ... linking ... done. Loading package transformers-0.2.2.0 ... linking ... done. Loading package mtl-2.0.1.0 ... linking ... done. Loading package parsec-3.1.1 ... linking ... done. Loading package time-1.2.0.3 ... linking ... done. Loading package wxdirect-0.12.1.4 ... linking ... done. Loading package wxcore-0.12.1.7 ... : can't load .so/.DLL for: stdc++ (libstdc++.so: cannot open shared object file: No such file or directory) cabal: Error: some packages failed to install: -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] can't load .so/.DLL for : stdc++
On Thu, Jun 23, 2011 at 8:15 AM, wrote: > It's been a while since I last installed wxHaskell on Linux, but if > memory serves me well I needed to install libstdc++-dev to get it to > build. Do you have this package installed? Yes, I have it installed. And I have the file at: /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.4/libstdc++.so /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/libstdc++.so I found, though, that if I compile with ghc directly, it doesn't give me the error. But if I use cabal install, then I get the error. -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] can't load .so/.DLL for : stdc++
--- On Thu, 6/23/11, Joel Shellman wrote: > Yes, I have it installed. And I have the file at: > > /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.4/libstdc++.so > /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/libstdc++.so > > I found, though, that if I compile with ghc directly, it > doesn't give > me the error. But if I use cabal install, then I get the > error. Possibly your .cabal file needs to include that directory or that .so explicitly. HTH. Howard -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] can't load .so/.DLL for : stdc++
On Thu, Jun 23, 2011 at 8:40 AM, Howard B. Golden wrote: > --- On Thu, 6/23/11, Joel Shellman wrote: >> Yes, I have it installed. And I have the file at: >> /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.4/libstdc++.so >> /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/libstdc++.so > > Possibly your .cabal file needs to include that directory or that .so > explicitly. HTH. I added: extra-lib-dirs: /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/ but still got the same error. -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] can't load .so/.DLL for : stdc++
It's been a while since I last installed wxHaskell on Linux, but if memory serves me well I needed to install libstdc++-dev to get it to build. Do you have this package installed? Regards, Maciek On Thu, Jun 23, 2011 at 4:11 AM, Joel Shellman wrote: > I have seen this mentioned in various places but haven't seen a > solution for it. I'm on Ubuntu Natty using ghc 7.0.3.20110330 running > cabal install on my project and I get the below error: > > Loading package ghc-prim ... linking ... done. > Loading package integer-gmp ... linking ... done. > Loading package base ... linking ... done. > Loading package array-0.3.0.2 ... linking ... done. > Loading package stm-2.2.0.1 ... linking ... done. > Loading package bytestring-0.9.1.10 ... linking ... done. > Loading package containers-0.4.0.0 ... linking ... done. > Loading package filepath-1.2.0.0 ... linking ... done. > Loading package old-locale-1.0.0.2 ... linking ... done. > Loading package old-time-1.0.0.6 ... linking ... done. > Loading package unix-2.4.2.0 ... linking ... done. > Loading package directory-1.1.0.0 ... linking ... done. > Loading package transformers-0.2.2.0 ... linking ... done. > Loading package mtl-2.0.1.0 ... linking ... done. > Loading package parsec-3.1.1 ... linking ... done. > Loading package time-1.2.0.3 ... linking ... done. > Loading package wxdirect-0.12.1.4 ... linking ... done. > Loading package wxcore-0.12.1.7 ... : can't load > .so/.DLL for: stdc++ (libstdc++.so: cannot open shared object file: No > such file or directory) > cabal: Error: some packages failed to install: > > -- > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > ___ > wxhaskell-users mailing list > wxhaskell-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users