[Bug 234361] tcltls 1.7.14 is broken upon execution.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 24 14:59:23 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234361

            Bug ID: 234361
           Summary: tcltls 1.7.14 is broken upon execution.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: gerald.gutierrez at gmail.com

On a newly installed FreeBSD 12 system, do the following:

`pkg install expect tcllib tcltls`

In a file `test.tcl`, copy the example code from
https://www.tcl.tk/man/tcl8.6/TclCmd/http.htm#M49, which shows how to use
https:

```
$ cat > test.tcl
package require http
package require tls
::http::register https 443 ::tls::socket
set token [::http::geturl https://my.secure.site/]
```

Run the program:

```
$ expect test.tcl
couldn't load file "/usr/local/lib/tls1.7.14/tcltls.so":
/usr/local/lib/tls1.7.14/tcltls.so: Undefined symbol "get_dhParams"
    while executing
"load [file join $dir tcltls.so] Tls"
    (lambda term "{dir} {
                if {{shared} eq "static"} {
                        load {} Tls
                } els..." line 5)
    invoked from within
"apply {{dir} {
                if {{shared} eq "static"} {
                        load {} Tls
                } else {
                        load [file join $dir tcltls.so] Tls
                }

                set tlsTclInitScript [file join $..."
    ("package ifneeded tls 1.7.14" script)
    invoked from within
"package require tls"
    (file "test.tcl" line 2)
$
```

The expected behaviour is that this example program should not fail with this
error. It should try to load the specified URL using HTTPS.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list