cups
cups copied to clipboard
cups.so: undefined symbol: httpConnect2
I am getting the above error , please let me know what is the issue
Its exactly when I am issuing page.print
Same issue here
any info about ruby version, platform?
Sorry just noticed request I since moved to another library. - this was on a Debian 7.8 Vagrant VM using rbenv to install ruby 2.2.1
@konung What library were you able to move to?
Same problem here. I believe this might be the issue: https://www.cups.org/documentation.php/doc-1.7/api-httpipp.html#httpConnect
Looks like httpConnect2 wasn't added until cups 1.7 and I'm on 1.6.2.
I found a workaround for cups < 1.7.
I was checking out the history of ext/cups.c and found that httpConnect2 was added in commit 26c372d to remove deprecated code. So I tried selecting it's parent commit in my Gemfile and it totally worked.
gem 'cups', :git => 'https://github.com/m0wfo/cups.git', :ref => 'e538da7'
@bigtunacan I'm using gem 'cupsffi', require: 'cupsffi'