# Installing Janus, linking error

**URL:** <https://swi-prolog.discourse.group/t/installing-janus-linking-error/6954>\
**Category:** General\
**Created:** [November 8, 2023, 1:22pm UTC](https://swi-prolog.discourse.group/t/installing-janus-linking-error/6954 "2023-11-08T13:22:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stassa.p](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/stassa.p/32/712_2.png) [@stassa.p](https://swi-prolog.discourse.group/u/stassa.p)\
**Post date:** [November 8, 2023, 1:22pm UTC](https://swi-prolog.discourse.group/t/installing-janus-linking-error/6954/1 "2023-11-08T13:22:46Z")

</div>

Hi all. I’m trying to install janus on windows 11, 64 bits. I get an error about a missing external symbol:

```prolog
janus.obj : error LNK2001: unresolved external symbol PL_get_delay_list

```

My SWI-Prolog version is 9.1.18 and it’s on my Path (both for user and system):

```prolog
> swipl
Welcome to SWI-Prolog (threaded, 64 bits, version 9.1.18)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.

For online help and background, visit https://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).

```

I’ve tried to install both from the git repository directly, with:

```prolog
pip install git+https://github.com/SWI-Prolog/packages-swipy.git#egg=janus_swi

```

And from a local clone of the repo with `pip install .` Both give the same error.

Installation works on WSL so I’m not terribly blocked (and I got Fedora on my boot path) but I would like to be able to use janus on windows also.

Any ideas?

---

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [November 8, 2023, 1:36pm UTC](https://swi-prolog.discourse.group/t/installing-janus-linking-error/6954/2 "2023-11-08T13:36:24Z")

</div>

`PL_get_delay_list()` was added after the last release. You should be fine if you install Prolog from the daily builds. Alternatively, after the clone, checkout the tag V9.1.18 to get the same version of janus as distributed with the release.

---

<div class="post-metadata">

**Author:** ![stassa.p](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/stassa.p/32/712_2.png) [@stassa.p](https://swi-prolog.discourse.group/u/stassa.p)\
**Post date:** [November 8, 2023, 1:37pm UTC](https://swi-prolog.discourse.group/t/installing-janus-linking-error/6954/3 "2023-11-08T13:37:39Z")

</div>

Yep, that did it.

Thanks! I should have thought of that. On WSL I’m installing the daily builds.

---

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [November 8, 2023, 3:49pm UTC](https://swi-prolog.discourse.group/t/installing-janus-linking-error/6954/4 "2023-11-08T15:49:16Z")

</div>

FYI, if you build the Janus Python package using MSVC it may get into an infinite loop. Pushed a fix for that.
