Closed hljlgj closed 7 years ago
See drv.go, tweak tge cgoflags to compile, and post it here - I'll include it.
You'll also need odpi-c library - see odpi dir.
On 2017. aug. 16., Sze 8:37 David_liu notifications@github.com wrote:
hi,thanks for your goracle, when i execute go get gopkg.in/goracle.v2 ,system prompt this my os is windows 10,not support for windows? c:\go\go get gopkg.in/goracle.v2 gopkg.in/goracle.v2
I:/mingw64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lodpic I:/mingw64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ldl collect2.exe: error: ld returned 1 exit status
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/go-goracle/goracle/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPoSiBvCxH2DiEVWxXC2lIBw5obIlSfks5sYo4jgaJpZM4O4e1D .
same issue
so how do I pick up your change ? this doesn't pick it up "go get gopkg.in/goracle.v2", thanks
cd $GOPATH/src/gopkg.in/goracle.v2
git remote add upstream https://github.com/go-goracle/goracle.git
git fetch upstream
git checkout -b master upstream/master
but I've just tagged the current master as v2.1.1, so it is go get
-able now.
Cool thanks
On Sat, Sep 16, 2017 at 7:38 AM Tamás Gulácsi notifications@github.com wrote:
cd $GOPATH/src/gopkg.in/goracle.v2 git remote add upstream https://github.com/go-goracle/goracle.git git fetch upstream git checkout -b master upstream/master
but I've just tagged the current master as v2.1.1, so it is go get-able now.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/go-goracle/goracle/issues/14#issuecomment-329963317, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfB-NEKSm95jjUyXKLKcn4HdrSxh9V6ks5si7M3gaJpZM4O4e1D .
-- Charles A. Monteiro www.monteirosfusion.com sent from the road
so I get a different output from doing doing the install :
amira@DESKTOP-H5LU9OV MINGW64 ~ $ go get gopkg.in/goracle.v2
C:\Users\amira\go\src\gopkg.in\goracle.v2\orahlp.go:255: undefined: sql.Out C:\Users\amira\go\src\gopkg.in\goracle.v2\orahlp.go:293: undefined: sql.Out C:\Users\amira\go\src\gopkg.in\goracle.v2\stmt.go:52: undefined: driver.NamedVal ueChecker C:\Users\amira\go\src\gopkg.in\goracle.v2\stmt.go:175: undefined: sql.Out C:\Users\amira\go\src\gopkg.in\goracle.v2\stmt.go:227: undefined: sql.Out C:\Users\amira\go\src\gopkg.in\goracle.v2\stmt.go:359: undefined: sql.Out C:\Users\amira\go\src\gopkg.in\goracle.v2\stmt.go:917: undefined: driver.ErrRemo veArgument
Go 1.9 is required!
that worked thanks
hi,thanks for your goracle, when i execute go get gopkg.in/goracle.v2 ,system prompt this my os is windows 10,not support for windows? c:\go\go get gopkg.in/goracle.v2
gopkg.in/goracle.v2
I:/mingw64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lodpic I:/mingw64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ldl collect2.exe: error: ld returned 1 exit status